fix: docker executable (#49)

This commit is contained in:
monkeyWie authored and GitHub committed 2022-11-08 21:49:02 +08:00
1 parent dc00fd2543
commit ee81ebffef
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ COPY ./go.mod ./go.sum ./
RUN go mod download
COPY . .
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
RUN CGO_ENABLED=0 go build -tags nosqlite,web -ldflags="-s -w" -o dist/gopeed github.com/monkeyWie/gopeed/cmd/web
FROM alpine:3.14.2
LABEL maintainer="monkeyWie"