ammariii08 commited on
Commit
e3b38fb
·
verified ·
1 Parent(s): 12453e0

Upload dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +12 -0
dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Dockerfile
2
+ FROM python:3.11
3
+
4
+ WORKDIR /app
5
+ COPY . /app
6
+
7
+ # Upgrade pip and install dependencies
8
+ RUN pip install --upgrade pip
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ # Expose port and run the app (modify the command if needed)
12
+ CMD ["python", "app.py"]