jsulz HF staff commited on
Commit
35c351a
·
1 Parent(s): cc6d57f

adding dockerfile

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