File size: 466 Bytes
752c636
 
 
 
 
 
 
 
 
cf3988f
 
752c636
 
cf3988f
83660cc
 
cf3988f
752c636
 
 
 
 
 
 
 
 
 
 
 
 
b31efa0
752c636
 
 
9c376c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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