Dockerfile 389 Bytes
Newer Older
shantf's avatar
shantf committed
1
FROM image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10
hepj987's avatar
hepj987 committed
2
COPY requirements.txt requirements.txt
shantf's avatar
shantf committed
3
RUN source /opt/dtk-24.04.1/env.sh
hepj987's avatar
hepj987 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
hepj987's avatar
hepj987 committed
7