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