Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -13,8 +13,7 @@ RUN mkdir -p /tmp/matplotlib && \
|
|
| 13 |
|
| 14 |
# Environment variables
|
| 15 |
ENV MPLCONFIGDIR=/tmp/matplotlib
|
| 16 |
-
ENV
|
| 17 |
-
ENV GRADIO_SERVER_PORT=7860
|
| 18 |
|
| 19 |
# Python paketlerini kur
|
| 20 |
COPY requirements.txt .
|
|
@@ -22,6 +21,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 22 |
|
| 23 |
# Uygulama dosyalarını kopyala
|
| 24 |
COPY app.py .
|
|
|
|
|
|
|
| 25 |
|
| 26 |
# Port
|
| 27 |
EXPOSE 7860
|
|
|
|
| 13 |
|
| 14 |
# Environment variables
|
| 15 |
ENV MPLCONFIGDIR=/tmp/matplotlib
|
| 16 |
+
ENV FLASK_APP=app.py
|
|
|
|
| 17 |
|
| 18 |
# Python paketlerini kur
|
| 19 |
COPY requirements.txt .
|
|
|
|
| 21 |
|
| 22 |
# Uygulama dosyalarını kopyala
|
| 23 |
COPY app.py .
|
| 24 |
+
COPY templates/ templates/
|
| 25 |
+
COPY static/ static/
|
| 26 |
|
| 27 |
# Port
|
| 28 |
EXPOSE 7860
|