Hiren122 commited on
Commit
4704976
·
verified ·
1 Parent(s): 84ab639

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ # Set up the working directory
4
+ WORKDIR /app
5
+
6
+ # Copy the requirements file and install dependencies
7
+ COPY requirements.txt requirements.txt
8
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
9
+
10
+ # Copy the rest of the application code
11
+ COPY . .
12
+
13
+ # Run the application on port 7860
14
+ CMD ["python", "app.py"]