mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-06 08:30:29 +00:00
ci: fix Dockerfile
This commit is contained in:
1 parent
ffdf3e717f
commit
6c4066fde4
1 file changed
+3
-3
+3
-3
@@ -12,9 +12,9 @@ RUN go mod download
|
||||
COPY . .
|
||||
COPY --from=flutter /app/build/web ./cmd/web/dist
|
||||
ARG VERSION=dev
|
||||
RUN CGO_ENABLED=0 go build -tags nosqlite,web -ldflags="-s -w \
|
||||
-X github.com/GopeedLab/gopeed/pkg/base.Version=${VERSION}" \
|
||||
-X github.com/GopeedLab/gopeed/pkg/base.InDocker=${IN_DOCKER}" \
|
||||
RUN CGO_ENABLED=0 go build -tags nosqlite,web -ldflags="-s -w" \
|
||||
-X github.com/GopeedLab/gopeed/pkg/base.Version=${VERSION} \
|
||||
-X github.com/GopeedLab/gopeed/pkg/base.InDocker=${IN_DOCKER} \
|
||||
-o dist/gopeed github.com/GopeedLab/gopeed/cmd/web
|
||||
|
||||
FROM alpine:3.14.2
|
||||
|
||||
Reference in new issue
Block a user