Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. ubuntu@ip-172-31-6-79:~$ docker images
  2. REPOSITORY TAG IMAGE ID CREATED SIZE
  3. fc latest 20949d0fd7ec 7 days ago 1.74GB
  4. debian latest 8d31923452f8 5 weeks ago 101MB
  5. ekholabs/face-classifier latest b1a390b8ec60 21 months ago 1.77GB
  6.  
  7. ubuntu@ip-172-31-6-79:~$ docker run -it fc bash
  8.  
  9. python3: can't open file 'bash': [Errno 2] No such file or directory
  10.  
  11. FROM debian:latest
  12.  
  13. RUN apt-get -y update && apt-get install -y git python3-pip python3-dev python3-tk vim procps curl
  14.  
  15. #Face classificarion dependencies & web application
  16. RUN pip3 install numpy scipy scikit-learn pillow tensorflow pandas h5py opencv-python==3.2.0.8 keras statistics pyyaml pyparsing cycler matplotlib Flask
  17.  
  18. ADD . /ekholabs/face-classifier
  19.  
  20. WORKDIR ekholabs/face-classifier
  21.  
  22. ENV PYTHONPATH=$PYTHONPATH:src
  23. ENV FACE_CLASSIFIER_PORT=8084
  24. EXPOSE $FACE_CLASSIFIER_PORT
  25.  
  26. ENTRYPOINT ["python3"]
  27. CMD ["src/web/faces.py"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement