Commit c96d3b81 authored by jfriedli's avatar jfriedli Committed by jvoisin

removed startup script

parent 3a3d1227
Pipeline #26628 passed with stages
in 3 minutes and 34 seconds
......@@ -18,7 +18,6 @@ RUN apt-get update \
&& cp ./config/uwsgi.config /etc/uwsgi/apps-enabled/mat2-web.ini \
&& rm /etc/nginx/sites-enabled/default \
&& mkdir -p /etc/nginx/sites-enabled/ \
&& cp ./config/nginx.config /etc/nginx/sites-enabled/mat2.conf \
&& chmod +x ./startup-server.sh
&& cp ./config/nginx.config /etc/nginx/sites-enabled/mat2.conf
CMD ["./startup-server.sh"]
\ No newline at end of file
CMD ["sh", "-c", "/etc/init.d/nginx restart; uwsgi --ini /etc/uwsgi/apps-enabled/mat2-web.ini"]
\ No newline at end of file
#!/bin/bash
/etc/init.d/nginx restart
uwsgi --ini /etc/uwsgi/apps-enabled/mat2-web.ini
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment