Blue Green
Some checks failed
Build, Push, and Blue/Green Deploy to Nomad / docker-nomad (push) Failing after 7s

This commit is contained in:
Henrik Jess
2024-12-20 10:35:54 +01:00
parent 459f51808f
commit 1b047a74fd
3 changed files with 53 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Expose the port the FastAPI app runs on (default Uvicorn port)
EXPOSE 9210
EXPOSE 9212
# Command to run the FastAPI application
CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "9210", "--workers", "1"]
CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "9212", "--workers", "1"]