Update Dockerfile
Browse files- Dockerfile +2 -6
Dockerfile
CHANGED
@@ -33,12 +33,8 @@ WORKDIR $HOME/app
|
|
33 |
|
34 |
COPY --chown=user . $HOME/app
|
35 |
|
36 |
-
|
37 |
-
RUN
|
38 |
-
echo "Listing pretrained_models folder content:" && \
|
39 |
-
ls -la pretrained_models && \
|
40 |
-
echo "Listing pretrained_models/face_analysis/models folder content:" && \
|
41 |
-
ls -la pretrained_models/face_analysis/models
|
42 |
|
43 |
# Install Python dependencies
|
44 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
33 |
|
34 |
COPY --chown=user . $HOME/app
|
35 |
|
36 |
+
RUN chmod +x scripts/download_models.sh
|
37 |
+
RUN bash scripts/download_models.sh
|
|
|
|
|
|
|
|
|
38 |
|
39 |
# Install Python dependencies
|
40 |
RUN pip install --no-cache-dir -r requirements.txt
|