first commit

This commit is contained in:
zcr
2026-02-05 10:15:03 +08:00
parent 56cd1e5b6e
commit 2882254111
4 changed files with 564 additions and 5 deletions

View File

@@ -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", "-"]