Skip to content

Commit

Permalink
fix: Use npm ci for a clean install
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Jung <[email protected]>
  • Loading branch information
nderjung committed Feb 1, 2024
1 parent 3de0796 commit 1b0a38d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ WORKDIR /docs
# Install dependencies based on the preferred package manager
COPY package.json yarn.lock* package-lock.json* ./

# TODO(nderjung): This --force needs to be removed
RUN npm install --force
RUN npm ci --force

# Rebuild the source code only when needed
FROM base AS builder
Expand Down

0 comments on commit 1b0a38d

Please sign in to comment.