YashashviAlva commited on
Commit
04bc2e9
·
1 Parent(s): 7b4f5dd

Fix HF Docker build by replacing npm ci with npm install

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -9,7 +9,7 @@ FROM node:20-slim AS frontend-builder
9
  WORKDIR /build
10
 
11
  COPY codesentry-frontend/package.json codesentry-frontend/package-lock.json ./
12
- RUN npm ci
13
 
14
  COPY codesentry-frontend/ ./
15
  # In HF Spaces the frontend talks to the same origin (backend serves static)
 
9
  WORKDIR /build
10
 
11
  COPY codesentry-frontend/package.json codesentry-frontend/package-lock.json ./
12
+ RUN npm install
13
 
14
  COPY codesentry-frontend/ ./
15
  # In HF Spaces the frontend talks to the same origin (backend serves static)