ADD alpine-minirootfs-3.20.6-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
WORKDIR /app |
ADD --chmod=755 https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux /usr/local/bin/yt-dlp # buildkit |
RUN /bin/sh -c apk add --no-cache ffmpeg libsodium # buildkit |
RUN /bin/sh -c apk update; apk add --no-cache libstdc++ libgcc icu-libs libc6-compat && rm -rf /var/cache/apk/*; # buildkit |
COPY /app ./ # buildkit |
COPY docker-entrypoint.sh /usr/local/sbin/ # buildkit |
RUN /bin/sh -c rm /app/data_init/lib/libsodium.so && ln -s /usr/lib/libsodium.so.26 /app/data_init/lib/libsodium.so # buildkit |
VOLUME [/app/data] |
ENTRYPOINT ["/usr/local/sbin/docker-entrypoint.sh"] |
CMD ["./EllieBot"] |