First real commit
Some checks failed
Build, Push, and Deploy to Nomad / docker-nomad (push) Failing after 29s

This commit is contained in:
Henrik Jess
2024-12-10 15:26:30 +01:00
parent a5a155f238
commit d23c4b08c6
2 changed files with 8 additions and 3 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 5000
EXPOSE 9210
# Command to run the FastAPI application
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "5000", "--workers", "1"]
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "9210", "--workers", "1"]