Files
modelscope/docker/Dockerfile.ubuntu.old
Jintao Huang 29442858e9 fix
2026-06-11 15:15:26 +08:00

11 lines
392 B
Docker

FROM {base_image}
ARG CUR_TIME={cur_time}
RUN echo $CUR_TIME
RUN cd /tmp && GIT_LFS_SKIP_SMUDGE=1 git clone -b {modelscope_branch} --single-branch https://github.com/modelscope/modelscope.git && \
cd modelscope && pip install . -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html && \
cd / && rm -fr /tmp/modelscope && pip cache purge;
SHELL ["/bin/bash", "-c"]