From 1c1bc9175f5d8d386d89f8fe263e5409be0325ba Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Fri, 22 Sep 2023 16:11:18 +0800 Subject: [PATCH] xuwei --- docker/proxy/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/proxy/Dockerfile b/docker/proxy/Dockerfile index c13bc519..67dbdc8a 100644 --- a/docker/proxy/Dockerfile +++ b/docker/proxy/Dockerfile @@ -9,4 +9,6 @@ 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 \ No newline at end of file +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"] \ No newline at end of file