Use task in dockerfile
This commit is contained in:
parent
0b6aa7cb56
commit
76cdf0ae3a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue