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:
parent
db739666b6
commit
c53cf2e10c
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue