adding dockerfile
Browse files- 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"]
|