todo/Dockerfile

9 lines
220 B
Docker
Raw Normal View History

2023-07-09 02:26:34 +08:00
FROM python:3.11
2023-07-10 12:54:22 +08:00
WORKDIR /app
2023-07-09 02:26:34 +08:00
2023-07-10 12:55:25 +08:00
COPY requirements.txt .
2023-07-10 12:54:22 +08:00
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"]