feat: pip cache dir

parent 18a7f97a
......@@ -5,7 +5,7 @@ COPY requirements /opt/coco/requirements
WORKDIR /opt/coco
RUN cd requirements && yum -y install $(cat rpm_requirements.txt) && \
pip install -r requirements.txt
pip install -r requirements.txt --download-cache=.pip-cache/
COPY . /opt/coco
VOLUME /opt/coco/logs
VOLUME /opt/coco/keys
......@@ -13,4 +13,4 @@ VOLUME /opt/coco/keys
RUN cp conf_docker.py conf.py
EXPOSE 2222
CMD python run_server.py
\ No newline at end of file
CMD python run_server.py
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