Combined npm ci with audit fix for efficiency

Removed the problematic @types/vite installation
Maintained the essential TypeScript global installation
This commit is contained in:
TheMaddax 2024-11-23 21:29:48 -06:00
parent db739666b6
commit c53cf2e10c

View file

@ -13,8 +13,7 @@ RUN npm install -g npm@latest
# Install dependencies from package.json # Install dependencies from package.json
COPY package*.json ./ COPY package*.json ./
RUN npm ci RUN npm ci && npm audit fix --force
RUN npm audit fix --force
RUN npm install -g typescript RUN npm install -g typescript
# Copy source code and build # Copy source code and build