dockerfile

FROM tensorflow/tensorflow

RUN apt-get update && apt-get install -y --no-install-recommends \
libsm6 \
libxext6 \
libxrender-dev \
git \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

WORKDIR /srv/vcode

COPY requirements.txt .

RUN pip install -r requirements.txt

# RUN pip install pipenv && pipenv install

# RUN git clone https://github.com/jonstewart/afflib.git && cd afflib/pyaff && python setup.py build && python setup.py install

EXPOSE 5001

CMD ["python", "/srv/vcode/checkapi.py"]

posted on 2019-01-23 11:01  袁佳佳  阅读(92)  评论(0编辑  收藏  举报

导航