Add missing files to docker

This commit is contained in:
Carl Pearson
2024-09-26 05:57:26 -06:00
parent 045ecd88d1
commit 9e77ba3b61

View File

@@ -7,7 +7,8 @@ RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux
&& chmod +x /usr/local/bin/yt-dlp
ADD *.go /src/.
ADD go.mod /src
ADD media /src/media
ADD go.mod /src/.
RUN cd /src && go mod tidy
RUN cd /src && go build -ldflags "-X main.GitSHA=${GIT_SHA} -X main.BuildDate=$(date +%Y-%m-%d)" -o server *.go