Initial commit: Office 365 Self Service - 兑换码自助开通系统

This commit is contained in:
youbin
2026-03-28 00:32:30 +08:00
commit 8f5a643ed3
16 changed files with 1219 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.9-slim
WORKDIR /app
RUN pip install --no-cache-dir gunicorn
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p logs instance
EXPOSE 8000
CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:8000", "app:app"]