更新 CloudCenter 镜像
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
94dced516a
commit
b150601dcb
|
@ -38,7 +38,7 @@ RUN npm install -g cnpm --registry=https://registry.npm.taobao.org \
|
|||
&& npm config set registry https://registry.npm.taobao.org
|
||||
|
||||
# copy gitsh script
|
||||
COPY ./gitsh /project/tools/gitsh
|
||||
COPY ./scripts/gitsh /project/tools/gitsh
|
||||
RUN chmod +x /project/tools/gitsh
|
||||
|
||||
# setup mirrors of pip
|
||||
|
@ -46,9 +46,9 @@ RUN chmod +x /project/tools/gitsh
|
|||
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
# install dependencies
|
||||
COPY ./cloud-center/requirements.txt requirements.txt
|
||||
COPY ./cloud-center/requirements.txt /project/requirements.txt
|
||||
RUN pip install --upgrade pip \
|
||||
&& pip install -r requirements.txt \
|
||||
&& pip install -r /project/requirements.txt \
|
||||
&& rm -rf /root/.cache \
|
||||
&& rm -rf /tmp/*
|
||||
|
||||
|
|
Loading…
Reference in New Issue