add expose port to dockerfile and debug env var
This commit is contained in:
@@ -18,6 +18,7 @@ POSTGRES_DB=
|
|||||||
|
|
||||||
DRF_SECRET_KEY=
|
DRF_SECRET_KEY=
|
||||||
DRF_DEBUG=
|
DRF_DEBUG=
|
||||||
|
DEBUG=
|
||||||
ALLOWED_HOSTS=
|
ALLOWED_HOSTS=
|
||||||
CORS_ALLOWED_ORIGINS=
|
CORS_ALLOWED_ORIGINS=
|
||||||
CSRF_TRUSTED_ORIGINS=
|
CSRF_TRUSTED_ORIGINS=
|
||||||
|
|||||||
@@ -16,4 +16,5 @@ COPY --chown=appuser:appuser authentication /app/authentication
|
|||||||
#COPY --chown=appuser:appuser static /app/static
|
#COPY --chown=appuser:appuser static /app/static
|
||||||
|
|
||||||
USER appuser
|
USER appuser
|
||||||
|
EXPOSE 8000
|
||||||
CMD ["uvicorn", "marbas.asgi:application", "--host", "0.0.0.0", "--port", "8000"]
|
CMD ["uvicorn", "marbas.asgi:application", "--host", "0.0.0.0", "--port", "8000"]
|
||||||
Reference in New Issue
Block a user