chalana2001 commited on
Commit
31d5591
·
verified ·
1 Parent(s): f6f3d33

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ WORKDIR /code
4
+
5
+ # Copy requirements and install
6
+ COPY requirements.txt .
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ # Copy the app
10
+ COPY app.py .
11
+
12
+ # Expose the port
13
+ EXPOSE 7860
14
+
15
+ # Run the application
16
+ CMD ["python", "app.py"]