Expose port 8000 in the image.

This commit is contained in:
Víðir Valberg Guðmundsson 2021-03-01 21:44:57 +01:00
parent 72c4020d96
commit 55fd4cdd6c

View file

@ -42,4 +42,6 @@ ENV BUILD ${BUILD}
ENTRYPOINT ["./entrypoint.sh"] ENTRYPOINT ["./entrypoint.sh"]
EXPOSE 8000
CMD ["uvicorn", "project.asgi:application", "--host", "0.0.0.0", "--port", "8000", "--workers", "3", "--lifespan", "off", "--app-dir", "/app/src"] CMD ["uvicorn", "project.asgi:application", "--host", "0.0.0.0", "--port", "8000", "--workers", "3", "--lifespan", "off", "--app-dir", "/app/src"]