Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
| 3 |
-
ENV
|
| 4 |
-
|
| 5 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
| 6 |
GRADIO_SERVER_PORT=7860
|
| 7 |
|
|
@@ -11,6 +11,7 @@ COPY requirements.txt /app/requirements.txt
|
|
| 11 |
RUN pip install --no-cache-dir -r /app/requirements.txt
|
| 12 |
|
| 13 |
COPY app.py /app/app.py
|
|
|
|
| 14 |
|
| 15 |
EXPOSE 7860
|
| 16 |
|
|
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
| 3 |
+
ENV PYTHONUNBUFFERED=1 \
|
| 4 |
+
PYTHONDONTWRITEBYTECODE=1 \
|
| 5 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
| 6 |
GRADIO_SERVER_PORT=7860
|
| 7 |
|
|
|
|
| 11 |
RUN pip install --no-cache-dir -r /app/requirements.txt
|
| 12 |
|
| 13 |
COPY app.py /app/app.py
|
| 14 |
+
COPY grid.png /app/grid.png # NEW: make the image available in the container
|
| 15 |
|
| 16 |
EXPOSE 7860
|
| 17 |
|