From c53cf2e10c77ce04b64e300f3c03cd25323bf5d5 Mon Sep 17 00:00:00 2001 From: TheMaddax Date: Sat, 23 Nov 2024 21:29:48 -0600 Subject: [PATCH] Combined npm ci with audit fix for efficiency Removed the problematic @types/vite installation Maintained the essential TypeScript global installation --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f1cfb1f..c2f8508 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,7 @@ RUN npm install -g npm@latest # Install dependencies from package.json COPY package*.json ./ -RUN npm ci -RUN npm audit fix --force +RUN npm ci && npm audit fix --force RUN npm install -g typescript # Copy source code and build