patch: --legacy-peer-deps should be a temporary solution

This commit is contained in:
Philip H. 2023-11-19 13:57:55 +00:00
parent f32ab0446e
commit 739d049a1b
3 changed files with 33 additions and 33 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 --legacy-peer-deps
RUN npm config set fund false && npm ci --omit=dev
# Copy build result to a new image.
# This saves a lot of disk space.