first commit
This commit is contained in:
@@ -15,4 +15,10 @@ RUN apt-get update && apt-get install -y vim
|
||||
RUN uv sync --frozen --no-cache
|
||||
|
||||
# Run the application.
|
||||
CMD ["/app/.venv/bin/fastapi", "run", "app/main.py", "--port", "80", "--host", "0.0.0.0"]
|
||||
CMD ["tail", "-f", "/dev/null"]
|
||||
#CMD ["/app/.venv/bin/gunicorn", "app.main:app", \
|
||||
# "-w", "4", \
|
||||
# "-k", "uvicorn.workers.UvicornWorker", \
|
||||
# "--bind", "0.0.0.0:80", \
|
||||
# "--access-logfile", "-", \
|
||||
# "--error-logfile", "-"]
|
||||
Reference in New Issue
Block a user