Parcourir la source

optimize Dockerfile

highing666 il y a 3 ans
Parent
commit
961613fb36
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -18,6 +18,7 @@ ARG INSTALL_DEV=false
 RUN bash -c "if [ $INSTALL_DEV == 'true' ] ; then poetry install --no-root ; else poetry install --no-root --no-dev ; fi"
 
 COPY ./app /app/app
+RUN mkdir -p /app/ml_models
 ENV PYTHONPATH=/app
 
 EXPOSE 8002