Spaces:
rr1
/
Sleeping

ykl45 commited on
Commit
49364f4
·
verified ·
1 Parent(s): 3f6c559

Create Dockerfile

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