Anasbf commited on
Commit
5eeec9a
·
verified ·
1 Parent(s): fe939ee

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +70 -0
Dockerfile ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Hugging Face's logo
2
+ Hugging Face
3
+ Search models, datasets, users...
4
+ Models
5
+ Datasets
6
+ Spaces
7
+ Posts
8
+ Docs
9
+ Enterprise
10
+ Pricing
11
+
12
+
13
+
14
+ Spaces:
15
+
16
+ Anasbf
17
+ /
18
+ gradio-app-demo
19
+
20
+
21
+ like
22
+ 0
23
+
24
+ App
25
+ Files
26
+ Community
27
+ Settings
28
+ gradio-app-demo
29
+ /
30
+ Dockerfile
31
+
32
+ Anasbf's picture
33
+ Anasbf
34
+ Update Dockerfile
35
+ 9d1106c
36
+ verified
37
+ about 23 hours ago
38
+ raw
39
+
40
+ Copy download link
41
+ history
42
+ blame
43
+ edit
44
+ delete
45
+
46
+ 268 Bytes
47
+
48
+ FROM python:3.10-slim
49
+
50
+
51
+ WORKDIR /app
52
+
53
+
54
+ COPY requirements.txt .
55
+
56
+
57
+ RUN pip install --no-cache-dir -r requirements.txt
58
+
59
+
60
+ COPY . .
61
+
62
+ # Expose the port 7860
63
+ EXPOSE 7860
64
+
65
+ # environment variables
66
+ ENV GRADIO_SERVER_NAME=0.0.0.0
67
+
68
+ # Run the Gradio app
69
+ CMD ["python", "app.py"]
70
+