mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 00:01:10 +08:00
depr -cfg flag & change to -c
This commit is contained in:
parent
153b544024
commit
4b37c6bb2b
7 changed files with 34 additions and 12 deletions
|
|
@ -36,12 +36,18 @@ FROM alpine:latest
|
|||
|
||||
RUN apk add --no-cache curl
|
||||
|
||||
ARG USER=WJQSERVER-STUDIO
|
||||
ARG REPO=ghproxy
|
||||
ARG BRANCH=v3
|
||||
ARG APPLICATION=ghproxy
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
ARG TARGETPLATFORM
|
||||
|
||||
COPY --from=builder /data/www /data/www
|
||||
COPY --from=builder /data/${APPLICATION} /data/${APPLICATION}
|
||||
COPY --from=builder /usr/local/bin/init.sh /usr/local/bin/init.sh
|
||||
|
||||
# 权限
|
||||
RUN chmod +x /data/${APPLICATION}/${APPLICATION}
|
||||
RUN chmod +x /usr/local/bin/init.sh
|
||||
|
||||
CMD ["/usr/local/bin/init.sh"]
|
||||
CMD ["/data/ghproxy/ghproxy"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue