Bashir Gulistani
commited on
Commit
•
06f59b6
1
Parent(s):
ea0919c
Create Dockerfile
Browse files- Dockerfile +9 -0
Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10-slim
|
2 |
+
|
3 |
+
WORKDIR /opt/app
|
4 |
+
COPY . .
|
5 |
+
RUN pip install --no-cache-dir -r /opt/app/requirements.txt
|
6 |
+
EXPOSE 7860
|
7 |
+
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
8 |
+
|
9 |
+
CMD ["python", "app.py"]
|