ravi86 commited on
Commit
6418163
·
verified ·
1 Parent(s): d35f85b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use Python 3.10 as base image
2
+ FROM python:3.10
3
+
4
+ # Set working directory
5
+ WORKDIR /code
6
+
7
+ # Install dependencies
8
+ COPY requirements.txt .
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ # Copy app files
12
+ COPY . .
13
+
14
+ # Run the app
15
+ CMD ["python", "app.py"]