Seraph19 commited on
Commit
88e58cf
·
verified ·
1 Parent(s): 117eb66

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.8-slim
2
+
3
+ WORKDIR /usr/src/app
4
+ COPY . .
5
+ RUN pip install --no-cache-dir gradio
6
+ EXPOSE 7860
7
+ ENV GRADIO_SERVER_NAME="0.0.0.0"
8
+
9
+ CMD ["python", "app.py"]
10
+ docker build -t gradio-app .
11
+ docker run -p 7860:7860 gradio-app