diff --git a/Dockerfile b/Dockerfile index 6946c90..746fc16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,16 +5,17 @@ # create a small container to start the binary FROM alpine:latest +# add libgcc to the container (it needs it for some reason) +RUN apk add libgcc +# add ffmpeg to the container (needed for video splitting) +RUN apk add ffmpeg + # copy the binary from the build folder # this binary should be build with the # target x86_64-unknown-linux-musl to be able to run COPY ./build/ /bin/ # make sure the binary is executable RUN chmod +x /bin/downloader -# add libgcc to the container (it needs it for some reason) -RUN apk add libgcc -# add ffmpeg to the container (needed for video splitting) -RUN apk add ffmpeg # set the start cmd CMD ["/bin/downloader"]