From db805b8f32ad0b6e4def238b116465f6f215da19 Mon Sep 17 00:00:00 2001 From: Xu Peng Date: Thu, 28 Mar 2019 18:36:47 +0800 Subject: [PATCH] feat(docker): add docker file. not final version --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..90d990c682 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +From continuumio/miniconda +RUN conda update -y conda +RUN conda create --name vec_engine python=3.6 +RUN echo "source activate vec_engine" > ~/.bashrc +ENV PATH /opt/conda/envs/env/bin:$PATH +#RUN conda install -y faiss-gpu cuda90 -c pytorch +#RUN pip install flask flask-restful flask_sqlalchemy flask_script pymysql environs +WORKDIR /root/front-source +EXPOSE 5000