mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-17 13:40:23 -04:00
removed startup script
This commit is contained in:
parent
3a3d122755
commit
c96d3b8178
2 changed files with 2 additions and 6 deletions
|
@ -18,7 +18,6 @@ RUN apt-get update \
|
||||||
&& cp ./config/uwsgi.config /etc/uwsgi/apps-enabled/mat2-web.ini \
|
&& cp ./config/uwsgi.config /etc/uwsgi/apps-enabled/mat2-web.ini \
|
||||||
&& rm /etc/nginx/sites-enabled/default \
|
&& rm /etc/nginx/sites-enabled/default \
|
||||||
&& mkdir -p /etc/nginx/sites-enabled/ \
|
&& mkdir -p /etc/nginx/sites-enabled/ \
|
||||||
&& cp ./config/nginx.config /etc/nginx/sites-enabled/mat2.conf \
|
&& cp ./config/nginx.config /etc/nginx/sites-enabled/mat2.conf
|
||||||
&& chmod +x ./startup-server.sh
|
|
||||||
|
|
||||||
CMD ["./startup-server.sh"]
|
CMD ["sh", "-c", "/etc/init.d/nginx restart; uwsgi --ini /etc/uwsgi/apps-enabled/mat2-web.ini"]
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
/etc/init.d/nginx restart
|
|
||||||
uwsgi --ini /etc/uwsgi/apps-enabled/mat2-web.ini
|
|
Loading…
Add table
Add a link
Reference in a new issue