feat: cn pip source

This commit is contained in:
gazedreamily 2023-06-19 11:33:00 +08:00
parent 8b4362fd6a
commit 00787bdd33

View File

@ -1,6 +1,7 @@
FROM python:3.10.11-slim-buster
WORKDIR /app
COPY . .
RUN pip3 config set global.index-url https://mirrors.aliyun.com/pypi/simple/
RUN pip3 install -r requirements.txt
EXPOSE 8000
CMD ["python3", "main.py"]