Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore-scripts=true
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ COPY tsconfig.json .

# Refresh the lock file to be sure we include Linux-only packages that might not
# be in the existing package-lock.json.
COPY .npmrc .
RUN npm install --package-lock-only \
&& npm ci

Expand All @@ -41,6 +42,7 @@ COPY --from=builder /app/package*.json ./
COPY --from=builder /app/dist/ ./dist/

# Install production dependencies only
COPY .npmrc .
RUN npm ci --omit=dev && npm cache clean --force

# Set proper permissions
Expand Down
Loading