Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -8,13 +8,13 @@ RUN apt-get update && apt-get install -y \
|
|
| 8 |
|
| 9 |
ENV MPLCONFIGDIR=/tmp/matplotlib
|
| 10 |
|
|
|
|
|
|
|
|
|
|
| 11 |
COPY requirements.txt .
|
| 12 |
RUN pip install --upgrade pip && \
|
| 13 |
pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
| 15 |
COPY . .
|
| 16 |
|
| 17 |
-
RUN mkdir -p /app/static
|
| 18 |
-
|
| 19 |
-
# Change the port here too
|
| 20 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 8 |
|
| 9 |
ENV MPLCONFIGDIR=/tmp/matplotlib
|
| 10 |
|
| 11 |
+
# Create static and heatmap directories
|
| 12 |
+
RUN mkdir -p /app/static/heatmap
|
| 13 |
+
|
| 14 |
COPY requirements.txt .
|
| 15 |
RUN pip install --upgrade pip && \
|
| 16 |
pip install --no-cache-dir -r requirements.txt
|
| 17 |
|
| 18 |
COPY . .
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|