更新 'Dockerfile'
Build-Deploy-Actions
Details
Build-Deploy-Actions
Details
This commit is contained in:
parent
45badc4efe
commit
55701c8e88
|
@ -3,7 +3,7 @@ FROM python:3.8.13
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
||||||
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
|
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
|
||||||
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue