ferides commited on
Commit
726400a
·
verified ·
1 Parent(s): da24215

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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.h5 ./skin_cancer_model.h5
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.h5 && echo "MODEL FOUND" || (echo "MODEL MISSING"; exit 1)
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