feat(docker): add docker file. not final version

This commit is contained in:
Xu Peng 2019-03-28 18:36:47 +08:00
parent 77cbac9b98
commit db805b8f32

9
Dockerfile Normal file
View File

@ -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