Spaces:
Sleeping
Sleeping
Hkoradiya123 commited on
Commit ·
60cafc5
1
Parent(s): 9e7b45f
fix: use npm install in docker frontend build for HF
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
FROM node:20-alpine AS frontend-builder
|
| 4 |
WORKDIR /app/frontend
|
| 5 |
COPY frontend/package*.json ./
|
| 6 |
-
RUN npm
|
| 7 |
COPY frontend/ ./
|
| 8 |
RUN npm run build
|
| 9 |
|
|
|
|
| 3 |
FROM node:20-alpine AS frontend-builder
|
| 4 |
WORKDIR /app/frontend
|
| 5 |
COPY frontend/package*.json ./
|
| 6 |
+
RUN npm install
|
| 7 |
COPY frontend/ ./
|
| 8 |
RUN npm run build
|
| 9 |
|