feat: docker download dir move to /app/Download (#398)

This commit is contained in:
Levi authored and GitHub committed 2024-03-12 13:39:56 +08:00
1 parent e39d50fe09
commit c81ca7f5cd
4 files changed
+20 -7

No files matched your search

+4 -1
View File
@@ -12,7 +12,10 @@ 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}" -o dist/gopeed github.com/GopeedLab/gopeed/cmd/web
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
LABEL maintainer="monkeyWie"