diff --git a/Dockerfile b/Dockerfile index 152125c..16cd231 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,9 @@ FROM node:20-alpine AS build-dependencies WORKDIR /src COPY package*.json ./ -RUN npm ci +# TODO: Remove omits, when CVE-2024-21538 is fixed (https://scout.docker.com/vulnerabilities/id/CVE-2024-21538?s=github) +# RUN npm ci +RUN npm ci --omit=optional # Download and install the dependencies for running the app FROM node:20-alpine AS production-dependencies