Created
June 1, 2018 08:57
-
-
Save ck196/06b64f73218df36e0d8fac28407639e2 to your computer and use it in GitHub Desktop.
docker-file gpu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM gcr.io/tensorflow/tensorflow:latest-gpu-py3 | |
ENV HOME_PATH=/home/ubuntu \ | |
APP_PATH=/home/ubuntu/recognizer | |
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \ | |
build-essential git | |
RUN pip install jwcrypto==0.4.2 | |
RUN pip install cython | |
WORKDIR $APP_PATH | |
RUN mkdir -p $APP_PATH | |
COPY ./ $APP_PATH | |
RUN pip install -r requirement.txt | |
COPY ./dev/.ssh /root/.ssh | |
RUN chmod 600 /root/.ssh/config \ | |
&& chmod 600 /root/.ssh/id_rsa | |
WORKDIR $APP_PATH/darkflow | |
RUN python setup.py build_ext --inplace | |
RUN pip install . | |
WORKDIR $APP_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment