Nomad stuff
Some checks failed
Build and Deploy LifeFAQ / build-image (push) Failing after 2m2s

This commit is contained in:
Henrik Jess Nielsen
2025-10-05 16:07:20 +02:00
parent 7f87efbeb7
commit 4d3f640ecd
2 changed files with 48 additions and 1 deletions

View File

@@ -10,4 +10,4 @@ COPY . .
# Port will be set via environment variable
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "${PORT:-8000}", "--workers", "1"]
CMD ["sh", "-c", "uvicorn app.main:app --proxy-headers --host 0.0.0.0 --port ${PORT:-8000} --workers 1"]