Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
|
| 11 |
COPY requirements.txt ./
|
| 12 |
COPY src/ ./src/
|
| 13 |
-
COPY skin_cancer_model.
|
| 14 |
|
| 15 |
RUN echo "===== PYTHON VERSION ====="
|
| 16 |
RUN python --version
|
|
@@ -18,7 +18,7 @@ RUN python --version
|
|
| 18 |
RUN echo "===== APP FOLDER CONTENT ====="
|
| 19 |
RUN ls -lah /app
|
| 20 |
|
| 21 |
-
RUN test -f /app/skin_cancer_model.
|
| 22 |
|
| 23 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 24 |
|
|
|
|
| 10 |
|
| 11 |
COPY requirements.txt ./
|
| 12 |
COPY src/ ./src/
|
| 13 |
+
COPY skin_cancer_model.keras ./skin_cancer_model.keras
|
| 14 |
|
| 15 |
RUN echo "===== PYTHON VERSION ====="
|
| 16 |
RUN python --version
|
|
|
|
| 18 |
RUN echo "===== APP FOLDER CONTENT ====="
|
| 19 |
RUN ls -lah /app
|
| 20 |
|
| 21 |
+
RUN test -f /app/skin_cancer_model.keras && echo "MODEL FOUND" || (echo "MODEL MISSING"; exit 1)
|
| 22 |
|
| 23 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 24 |
|