feat: support volume storage dir on docker (#291)

This commit is contained in:
Levi authored and GitHub committed 2023-12-13 08:51:22 +08:00
1 parent 2b5091ba21
commit ce7489b0c0
7 files changed
+23 -8

No files matched your search

+1
View File
@@ -17,5 +17,6 @@ FROM alpine:3.14.2
LABEL maintainer="monkeyWie"
WORKDIR /app
COPY --from=go /app/dist/gopeed ./
VOLUME ["/app/storage"]
EXPOSE 9999
ENTRYPOINT ["./gopeed"]