Commit e8cc3d4e authored by ibuler's avatar ibuler

[Update] 修改dockerfile

parent 0ddf2d2c
......@@ -6,6 +6,7 @@ WORKDIR /opt/coco
RUN yum -y install epel-release
RUN cd requirements && yum -y install $(cat rpm_requirements.txt)
RUN cd requirements && pip install $(egrep "jms|jumpserver" requirements.txt)
RUN cd requirements && pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ || pip install -r requirements.txt
ENV LANG=zh_CN.UTF-8
......@@ -14,7 +15,7 @@ ENV LC_ALL=zh_CN.UTF-8
COPY . /opt/coco
VOLUME /opt/coco/data
RUN echo > config.yml
RUN echo > config.yml
EXPOSE 2222
ENTRYPOINT ["./entrypoint.sh"]
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