Files
Logic 29d1ad71ab
Some checks failed
docker-cicd / build-and-push (push) Failing after 16s
Initial commit
2026-03-21 18:47:00 +08:00

24 lines
467 B
Docker

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