|
@@ -8,6 +8,11 @@ RUN python -m pip install paddlepaddle==2.5.2 -i https://pypi.tuna.tsinghua.edu.
|
|
|
|
|
|
RUN cd /app && pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
|
|
|
|
|
+RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
|
|
+RUN sed -i 's/security.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
|
|
+RUN apt update
|
|
|
+RUN apt install -y libgl1-mesa-glx
|
|
|
+
|
|
|
WORKDIR /app
|
|
|
ENTRYPOINT ["python"]
|
|
|
CMD ["main.py", "--production"]
|