diff --git a/.npmrc b/.npmrc index a2f604e..521a9f7 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1 @@ legacy-peer-deps=true -npm audit --omit=dev \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index d93ad15..43c89bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/* # Install dependencies (full install — tsx/vite are needed for build & runtime) -COPY package.json package-lock.json ./ -RUN npm ci +COPY package.json package-lock.json .npmrc ./ +RUN npm ci --legacy-peer-deps # Copy source and build the frontend COPY . .