fix: pip --cache-dir

parent cd58f5e5
...@@ -5,7 +5,7 @@ COPY requirements /opt/coco/requirements ...@@ -5,7 +5,7 @@ COPY requirements /opt/coco/requirements
WORKDIR /opt/coco WORKDIR /opt/coco
RUN cd requirements && yum -y install $(cat rpm_requirements.txt) && \ RUN cd requirements && yum -y install $(cat rpm_requirements.txt) && \
pip install -r requirements.txt --download-cache=.pip-cache/ pip install -r requirements.txt --cache-dir .pip-cache/
COPY . /opt/coco COPY . /opt/coco
VOLUME /opt/coco/logs VOLUME /opt/coco/logs
VOLUME /opt/coco/keys VOLUME /opt/coco/keys
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment