add expose port to dockerfile and debug env var

This commit is contained in:
Tom Villette
2025-06-27 13:30:17 +02:00
parent 8eaf07aedc
commit 87820051a7
2 changed files with 2 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ POSTGRES_DB=
DRF_SECRET_KEY=
DRF_DEBUG=
DEBUG=
ALLOWED_HOSTS=
CORS_ALLOWED_ORIGINS=
CSRF_TRUSTED_ORIGINS=

View File

@@ -16,4 +16,5 @@ COPY --chown=appuser:appuser authentication /app/authentication
#COPY --chown=appuser:appuser static /app/static
USER appuser
EXPOSE 8000
CMD ["uvicorn", "marbas.asgi:application", "--host", "0.0.0.0", "--port", "8000"]