summaryrefslogtreecommitdiff
path: root/Dockerfile.production
diff options
context:
space:
mode:
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