This commit is contained in:
qiaofeng1227 2023-09-26 17:31:26 +08:00
parent f7a0bad79c
commit 128875d50a

View file

@ -5,9 +5,9 @@ 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/init_user /etc/s6-overlay/s6-rc.d/init_user
RUN touch /etc/s6-overlay/s6-rc.d/user/contents.d/init_user
RUN chmod -R 755 /etc/s6-overlay/s6-rc.d/init_user
# COPY ./s6/init_user/init_user.sh /app/init_user.sh
# RUN chmod +x /app/init_user.sh
# CMD ["/bin/sh", "-c", "/app/init_user.sh && tail -f /dev/null"]
# COPY ./s6/init_user /etc/s6-overlay/s6-rc.d/init_user
# RUN touch /etc/s6-overlay/s6-rc.d/user/contents.d/init_user
# RUN chmod -R 755 /etc/s6-overlay/s6-rc.d/init_user
COPY ./s6/init_user/init_user.sh /app/init_user.sh
RUN chmod +x /app/init_user.sh
CMD ["/bin/sh", "-c", "/app/init_user.sh && tail -f /dev/null"]