From 76cdf0ae3aff6eb7e9c472b76ee27ee616c92e82 Mon Sep 17 00:00:00 2001 From: Evan Fiordeliso Date: Sat, 15 Apr 2023 00:02:44 -0400 Subject: [PATCH] Use task in dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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