yasir68 commited on
Commit
33e0214
1 Parent(s): ea41de4

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10.11-alpine3.18
2
+
3
+ WORKDIR app/
4
+
5
+ COPY requirements.txt requirements.txt
6
+
7
+ RUN pip3 install --upgrade pip setuptools wheel
8
+ RUN pip3 install --no-warn-script-location --no-cache-dir -r requirements.txt
9
+ RUN pip install flask
10
+ COPY . .
11
+
12
+ RUN chmod 777 /app
13
+
14
+ CMD ["python3", "app.py"]