This commit is contained in:
qiaofeng1227 2023-09-21 16:29:22 +08:00
parent f30c210db2
commit d390f2be69
2 changed files with 2 additions and 6 deletions

View File

@ -6,5 +6,4 @@ LABEL version="2.10.4"
RUN apt-get update && apt-get install -y curl jq
COPY ./config/initproxy.conf /data/nginx/proxy_host/
COPY ./s6/user /etc/s6-overlay/s6-rc.d/user
RUN chmod -R 755 /etc/s6-overlay/s6-rc.d/user
CMD ["/etc/s6-overlay/s6-rc.d/user/setup"]
RUN chmod -R 755 /etc/s6-overlay/s6-rc.d/user

View File

@ -1,6 +1,3 @@
#!/bin/bash
[[ -f ./setup ]] && source ./setup
pushd /root >/dev/null
exec su-exec root /bin/echo ""
popd
exec "/etc/s6-overlay/s6-rc.d/user/setup" "$@"