websoft9/docker/proxy/Dockerfile

13 lines
528 B
Docker
Raw Normal View History

2023-09-19 18:03:28 +08:00
FROM jc21/nginx-proxy-manager:2.10.4
2023-09-19 17:47:59 +08:00
LABEL maintainer="Websoft9<help@websoft9.com>"
2023-09-19 18:03:28 +08:00
LABEL version="2.10.4"
2023-09-19 17:47:59 +08:00
2023-09-21 11:49:47 +08:00
RUN apt-get update && apt-get install -y curl jq
2023-09-21 10:45:37 +08:00
COPY ./config/initproxy.conf /data/nginx/proxy_host/
2023-09-26 17:31:26 +08:00
# 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"]