freddyaboulton HF staff commited on
Commit
859d7b7
1 Parent(s): 5a2cafe

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ FROM python:3.9
3
+
4
+ WORKDIR /code
5
+
6
+ COPY ./requirements.txt /code/requirements.txt
7
+
8
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
9
+
10
+ COPY . .
11
+
12
+ ENV GRADIO_SERVER_NAME="0.0.0.0"
13
+ ENV GRADIO_SERVER_PORT=7860
14
+ ENV GRADIO_ALLOW_FLAGGING="never"
15
+
16
+ CMD ["python", "app.py"]