feat: cn pip source
This commit is contained in:
parent
8b4362fd6a
commit
00787bdd33
@ -1,6 +1,7 @@
|
|||||||
FROM python:3.10.11-slim-buster
|
FROM python:3.10.11-slim-buster
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN pip3 config set global.index-url https://mirrors.aliyun.com/pypi/simple/
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
CMD ["python3", "main.py"]
|
CMD ["python3", "main.py"]
|
Loading…
Reference in New Issue
Block a user