Face_rec_api / Dockerfile
ankpan18's picture
changed last command to CMD
9c376c7
raw
history blame contribute delete
466 Bytes
FROM ubuntu
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y \
sudo
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install python3 pip vim mc wget curl
# to make open-cv work
RUN apt-get install ffmpeg libsm6 libxext6 -y
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
CMD python3 -c "print('Docker is more simple Deployment Tool')"
RUN pwd
RUN ls -l
EXPOSE 3306
CMD flask run --host=0.0.0.0 --port=3306