todo/Dockerfile

9 lines
220 B
Docker

FROM python:3.11
WORKDIR /app
COPY requirements.txt .
RUN python3 -m pip install -i https://mirrors.cloud.tencent.com/pypi/simple --trusted-host=mirrors.cloud.tencent.com -r requirements.txt
CMD ["python3", "app.py"]