Spaces:
Running
Running
Commit ·
04bc2e9
1
Parent(s): 7b4f5dd
Fix HF Docker build by replacing npm ci with npm install
Browse files- 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
|
| 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)
|