Initial commit
Some checks failed
docker-cicd / build-and-push (push) Failing after 16s

This commit is contained in:
Logic
2026-03-21 18:47:00 +08:00
commit 29d1ad71ab
29 changed files with 4050 additions and 0 deletions

23
Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
FROM python:3.11-slim-bookworm
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PORT=8000 \
HOST=0.0.0.0 \
TZ=Asia/Shanghai \
MINIAPP_QR_TIMEZONE=Asia/Shanghai
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends nodejs ca-certificates tzdata \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["python", "web_app.py"]