Files
modelscope/docker/Dockerfile.ubuntu.old
2026-03-09 14:21:38 +08:00

8 lines
348 B
Docker

FROM {base_image}
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"]