11 lines
291 B
Docker
11 lines
291 B
Docker
|
FROM python:3.7.13-slim
|
||
|
|
||
|
WORKDIR /app
|
||
|
ADD ./requirements.txt /app/
|
||
|
|
||
|
RUN pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir
|
||
|
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir
|
||
|
|
||
|
ADD . /app/
|
||
|
CMD ["python3", "run.py"]
|