websoft9/docker/proxy/Dockerfile
qiaofeng1227 1c1bc9175f xuwei
2023-09-22 16:11:18 +08:00

14 lines
501 B
Docker

FROM jc21/nginx-proxy-manager:2.10.4
LABEL maintainer="Websoft9<help@websoft9.com>"
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 ls /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
CMD ["/bin/sh", "-c", "/etc/s6-overlay/s6-rc.d/init_user/init_user.sh && nginx"]