ci: fix docker build

This commit is contained in:
levi committed 2022-11-07 17:20:31 +08:00
1 parent 7ec824edda
commit fdfd95555d
3 files changed
+28 -26

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ WORKDIR /app
COPY ./go.mod ./go.sum ./
RUN go mod download
COPY . .
COPY --from=flutter /app/build/web/* ./cmd/web/dist
COPY --from=flutter /app/build/web/* ./cmd/web/dist/
RUN go build -tags nosqlite,web -ldflags="-s -w" -o dist/gopeed github.com/monkeyWie/gopeed/cmd/web
FROM alpine:3.14.2