Use task in dockerfile
This commit is contained in:
parent
0b6aa7cb56
commit
76cdf0ae3a
|
@ -4,8 +4,9 @@ WORKDIR /usr/src/ytdl-web
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN go mod download \
|
RUN go install github.com/go-task/task/v3/cmd/task@latest \
|
||||||
&& go build -o ytdl-web .
|
&& task deps \
|
||||||
|
&& task build
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.17
|
FROM alpine:3.17
|
||||||
|
|
Loading…
Reference in New Issue