Dockerfile: --legacy-peer-deps

This commit is contained in:
Philip H 2023-11-19 12:06:52 +01:00 committed by GitHub
parent 07b1571f6b
commit f32ab0446e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ FROM docker.io/library/node:18-alpine@sha256:435dcad253bb5b7f347ebc69c8cc52de7c9
# Copy Web UI
COPY src/ /app/
WORKDIR /app
RUN npm config set fund false && npm ci --omit=dev
RUN npm config set fund false && npm ci --omit=dev --legacy-peer-deps
# Copy build result to a new image.
# This saves a lot of disk space.