Add yarn cache clean, to remove un-needed cached files

This commit is contained in:
Alicia Sykes 2024-03-03 17:46:09 +00:00
parent d25a80dd48
commit 4fdfb6ecc1
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ WORKDIR /app
# Install app dependencies
COPY package.json yarn.lock ./
RUN yarn install --ignore-engines --frozen-lockfile --no-cache --network-timeout 600000
RUN yarn install --ignore-engines --frozen-lockfile --no-cache --network-timeout 600000 && yarn cache clean
# Copy over all project files and folders to the working directory
COPY . ./