Update Dockerfile-cuda (#446)
This commit is contained in:
parent
3d17478588
commit
eeea00e294
|
|
@ -5,9 +5,10 @@ COPY . /chatGLM/
|
|||
|
||||
WORKDIR /chatGLM
|
||||
|
||||
RUN apt-get update -y && apt-get install python3 python3-pip curl -y && apt-get clean
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone
|
||||
RUN apt-get update -y && apt-get install python3 python3-pip curl libgl1 libglib2.0-0 -y && apt-get clean
|
||||
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py
|
||||
|
||||
RUN pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn && rm -rf `pip3 cache dir`
|
||||
RUN pip3 install -r requirements.txt -i https://pypi.mirrors.ustc.edu.cn/simple/ && rm -rf `pip3 cache dir`
|
||||
|
||||
CMD ["python3","-u", "webui.py"]
|
||||
Loading…
Reference in New Issue