Add --no-cache to reduce Docker container size

This commit is contained in:
Alicia Sykes 2024-03-03 17:44:36 +00:00
parent 47762390d4
commit d25a80dd48
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 --network-timeout 600000
RUN yarn install --ignore-engines --frozen-lockfile --no-cache --network-timeout 600000
# Copy over all project files and folders to the working directory
COPY . ./