更新:dockerfile

This commit is contained in:
yystopf 2023-11-24 14:47:42 +08:00
parent c6c0254fa5
commit 4717c93223
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
FROM golang:alpine as build
ENV GOPROXY https://goproxy.cn
WORKDIR /app
@ -17,4 +18,4 @@ VOLUME ["/data"]
ENTRYPOINT ["/usr/bin/entrypoint"]
CMD ["/bin/s6-svscan", "/etc/s6"]
COPY --from=build /app/gitea_hat /user/local/bin/gitea
COPY --from=build /app/gitea_hat /usr/local/bin/gitea