Commit 0db14e1e authored by zhangmingyuan's avatar zhangmingyuan

Build DICER2 v0.1.3!

parent d66c29f9
# docker run -it -p 9605:9605 --network 7x-docker-2-es-instances_es7net --link es7_01:elastic dicer2:v0.1.1
FROM dicer2-base:v0.1.0
FROM phenoming/dicer2-base:v0.1.0
ENV VERSION="<version>"
ENV DICER2_HOME="/usr/local/dicer2"
......
# docker run -it -p 9605:9605 --network 7x-docker-2-es-instances_es7net --link es7_01:elastic dicer2:v0.1.1
FROM phenoming/dicer2-base:v0.1.0
ENV VERSION="v0.1.3"
ENV DICER2_HOME="/usr/local/dicer2"
ENV PIP_MIRROR="https://pypi.tuna.tsinghua.edu.cn/simple"
ENV DICER2_CONFIG_PATH="settings/dicer2.docker.config.py"
LABEL version=${VERSION} author="Charles Zhang" email="694556046@qq.com"
RUN mkdir ${DICER2_HOME}
WORKDIR ${DICER2_HOME}
ADD dicer2_${VERSION}_src.tar.gz ./
RUN pip install -r requirements.txt -i ${PIP_MIRROR}
EXPOSE 9605 9605
CMD gunicorn manager:app -b 0.0.0.0:9605
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