"desktop/vscode:/vscode.git/clone" did not exist on "10d2917d7e010123b2d6b978dedb96071c24ffdd"
Dockerfile 1.11 KB
Newer Older
1
FROM image.sourcefind.cn:5000/dcu/admin/base/jupyterlab-pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10 as base
chenpangpang's avatar
chenpangpang committed
2
3
ARG IMAGE=kolors
ARG IMAGE_UPPER=Kolors
4
ARG BRANCH=dcu
chenpangpang's avatar
chenpangpang committed
5
6
7
RUN cd /root && git clone -b $BRANCH http://developer.hpccube.com/codes/chenpangpang/$IMAGE.git
WORKDIR /root/$IMAGE/$IMAGE_UPPER
RUN pip install -r requirements.txt
chenpangpang's avatar
chenpangpang committed
8
9
10
11

#########
# Prod  #
#########
chenpangpang's avatar
chenpangpang committed
12
FROM image.sourcefind.cn:5000/dcu/admin/base/jupyterlab-pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10
chenpangpang's avatar
chenpangpang committed
13
14
15
16
17
18
ARG IMAGE=kolors
ARG IMAGE_UPPER=Kolors
COPY chenyh/$IMAGE/frpc_linux_amd64_v0.2 /opt/conda/lib/python3.10/site-packages/gradio/
RUN chmod +x /opt/conda/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2
COPY chenyh/$IMAGE/Kwai-Kolors/Kolors /root/$IMAGE_UPPER/Kwai-Kolors/Kolors
COPY chenyh/$IMAGE/Kwai-Kolors/Kolors-IP-Adapter-Plus /root/$IMAGE_UPPER/Kwai-Kolors/Kolors-IP-Adapter-Plus
19
COPY --from=base /opt/conda/lib/python3.10/site-packages /opt/conda/lib/python3.10/site-packages
chenpangpang's avatar
chenpangpang committed
20
COPY --from=base /root/$IMAGE/$IMAGE_UPPER /root/$IMAGE_UPPER
21
22
COPY --from=base /root/$IMAGE/启动器.ipynb /root/$IMAGE/start.sh  /root/
COPY --from=base /root/$IMAGE/assets /root/assets
chenpangpang's avatar
chenpangpang committed
23