Dockerfile 380 Bytes
Newer Older
1
FROM image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-py3.10-dtk24.04.3-ubuntu20.04
yongshk's avatar
yongshk committed
2
COPY requirements.txt requirements.txt
shantf's avatar
shantf committed
3
RUN source /opt/dtk/env.sh
yongshk's avatar
yongshk committed
4
5
6
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone 
ENV LANG C.UTF-8
RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com