yarn clean cache before build

This commit is contained in:
sabaimran 2024-07-19 16:06:38 +05:30
parent 7f0d1bd414
commit 6d5ca5a3e1
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ ENV PYTHONPATH=/app/src:$PYTHONPATH
# Go to the directory src/interface/web and export the built Next.js assets # Go to the directory src/interface/web and export the built Next.js assets
WORKDIR /app/src/interface/web 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 WORKDIR /app
# Run the Application # Run the Application

View file

@ -29,7 +29,7 @@ ENV PYTHONPATH=/app/src:$PYTHONPATH
# Go to the directory src/interface/web and export the built Next.js assets # Go to the directory src/interface/web and export the built Next.js assets
WORKDIR /app/src/interface/web 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 WORKDIR /app
# Run the Application # Run the Application