18 lines
264 B
Docker
18 lines
264 B
Docker
FROM python:3.10
|
|
|
|
#
|
|
WORKDIR /code
|
|
|
|
#
|
|
COPY ./requirements.txt /code/requirements.txt
|
|
|
|
#
|
|
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
|
|
|
#
|
|
COPY ./app /code/app
|
|
|
|
|
|
#
|
|
# CMD ["python", "/code/app/demo.py"]
|