Shubham32142 commited on
Commit
0927600
·
1 Parent(s): d344109

Fix Dockerfile: create models dir at build time instead of copying from repo

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -10,7 +10,8 @@ COPY ml/requirements.txt ./requirements.txt
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
  COPY ml/ ./ml/
13
- COPY models/ ./models/
 
14
 
15
  WORKDIR /app/ml
16
 
 
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
  COPY ml/ ./ml/
13
+
14
+ RUN mkdir -p /app/models
15
 
16
  WORKDIR /app/ml
17