summaryrefslogtreecommitdiff
path: root/Dockerfile.production
diff options
context:
space:
mode:
authorjfriedli2019-08-28 09:32:04 -0700
committerjvoisin2019-08-28 09:32:04 -0700
commitc96d3b8178a007af747b9a5922e03c2ab2c47a6f (patch)
tree87944eaadb46fe4dfe4622b1f2e6d963d198f60b /Dockerfile.production
parent3a3d1227558a2c405456e3ddab451675e7bbd552 (diff)
removed startup script
Diffstat (limited to 'Dockerfile.production')
-rw-r--r--Dockerfile.production5
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile.production b/Dockerfile.production
index 1d5b0a1..604adae 100644
--- a/Dockerfile.production
+++ b/Dockerfile.production
@@ -18,7 +18,6 @@ RUN apt-get update \
18&& cp ./config/uwsgi.config /etc/uwsgi/apps-enabled/mat2-web.ini \ 18&& cp ./config/uwsgi.config /etc/uwsgi/apps-enabled/mat2-web.ini \
19&& rm /etc/nginx/sites-enabled/default \ 19&& rm /etc/nginx/sites-enabled/default \
20&& mkdir -p /etc/nginx/sites-enabled/ \ 20&& mkdir -p /etc/nginx/sites-enabled/ \
21&& cp ./config/nginx.config /etc/nginx/sites-enabled/mat2.conf \ 21&& cp ./config/nginx.config /etc/nginx/sites-enabled/mat2.conf
22&& chmod +x ./startup-server.sh
23 22
24CMD ["./startup-server.sh"] \ No newline at end of file 23CMD ["sh", "-c", "/etc/init.d/nginx restart; uwsgi --ini /etc/uwsgi/apps-enabled/mat2-web.ini"] \ No newline at end of file