File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
docker/docker-entrypoint.d Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,12 @@ COPY ./docker/nginx.conf ./docker/cors.conf /etc/nginx/
1818
1919# copy swagger files to the `/js` folder
2020COPY ./dist/* /usr/share/nginx/html/
21- COPY ./docker/run.sh /usr/share/nginx /
21+ COPY ./docker/docker-entrypoint.d/ /docker-entrypoint.d /
2222COPY ./docker/configurator /usr/share/nginx/configurator
2323
24- RUN chmod +x /usr/share/nginx/run.sh && \
25- chmod -R a+rw /usr/share/nginx && \
24+ RUN chmod -R a+rw /usr/share/nginx && \
2625 chmod -R a+rw /etc/nginx && \
2726 chmod -R a+rw /var && \
2827 chmod -R a+rw /var/run
2928
3029EXPOSE 8080
31-
32- CMD ["sh" , "/usr/share/nginx/run.sh" ]
Original file line number Diff line number Diff line change @@ -62,5 +62,3 @@ if [[ -n "${PORT}" ]]; then
6262fi
6363
6464find $NGINX_ROOT -type f -regex " .*\.\(html\|js\|css\)" -exec sh -c " gzip < {} > {}.gz" \;
65-
66- exec nginx -g ' daemon off;'
You can’t perform that action at this time.
0 commit comments