This commit is contained in:
parent
c5efa24fab
commit
276c708826
|
|
@ -38,4 +38,5 @@ RUN mkdir -p /app/results
|
|||
EXPOSE 8000
|
||||
|
||||
# Run the application
|
||||
CMD ["uvicorn", "backend.app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
# Run the application using the PORT environment variable (required by Railway)
|
||||
CMD ["sh", "-c", "uvicorn backend.app.main:app --host 0.0.0.0 --port ${PORT:-8000}"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue