diff --git a/Dockerfile b/Dockerfile index 8cc1fcf..78cef5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,9 @@ WORKDIR /usr/src/ytdl-web COPY . . -RUN go mod download \ - && go build -o ytdl-web . +RUN go install github.com/go-task/task/v3/cmd/task@latest \ + && task deps \ + && task build FROM alpine:3.17