diff --git a/Dockerfile b/Dockerfile index 217f5f73..693db86b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ ENV PYTHONPATH=/app/src:$PYTHONPATH # Go to the directory src/interface/web and export the built Next.js assets WORKDIR /app/src/interface/web -RUN bash -c "yarn install --verbose && yarn ciexport" +RUN bash -c "yarn cache clean && yarn install --verbose && yarn ciexport" WORKDIR /app # Run the Application diff --git a/prod.Dockerfile b/prod.Dockerfile index 418e070a..f767ee93 100644 --- a/prod.Dockerfile +++ b/prod.Dockerfile @@ -29,7 +29,7 @@ ENV PYTHONPATH=/app/src:$PYTHONPATH # Go to the directory src/interface/web and export the built Next.js assets WORKDIR /app/src/interface/web -RUN bash -c "yarn install --verbose && yarn ciexport" +RUN bash -c "yarn cache clean && yarn install --verbose && yarn ciexport" WORKDIR /app # Run the Application