Browse Source

Modif Dockerfile

main
scayac 6 months ago
parent
commit
719cba3d5d
  1. 4
      Dockerfile

4
Dockerfile

@ -32,5 +32,5 @@ RUN python manage.py collectstatic --noinput @@ -32,5 +32,5 @@ RUN python manage.py collectstatic --noinput
# Exposer le port 8000
EXPOSE 8000
# Commande de lancement avec mod_wsgi-express
CMD mod_wsgi-express start-server --port 8000 --url-alias /static /code/static /code/ia_prof/wsgi.py
# Commande de lancement avec mod_wsgi-express (utilisation d'un utilisateur non-root)
CMD mod_wsgi-express start-server --user www-data --group www-data --port 8000 --url-alias /static /code/static /code/ia_prof/wsgi.py
Loading…
Cancel
Save