feat: Initial commit with full deployment architecture and scripts
This commit is contained in:
commit
abb3efe114
96 files changed
+16789
No files matched your search
@@ -0,0 +1,13 @@
|
||||
|
||||
# backend/Dockerfile
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
# 使用 Gunicorn + Gevent 启动
|
||||
CMD ["gunicorn", "-c", "gunicorn_config.py", "run:app"]
|
||||
Reference in new issue
Block a user