Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -56,12 +56,12 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
|
| 56 |
|
| 57 |
FROM node:20-bookworm-slim AS frontend-builder
|
| 58 |
|
| 59 |
-
WORKDIR /app
|
| 60 |
|
| 61 |
-
|
| 62 |
-
COPY
|
| 63 |
-
|
| 64 |
-
|
| 65 |
|
| 66 |
RUN npm install
|
| 67 |
RUN npm run build
|
|
|
|
| 56 |
|
| 57 |
FROM node:20-bookworm-slim AS frontend-builder
|
| 58 |
|
| 59 |
+
WORKDIR /app
|
| 60 |
|
| 61 |
+
# Copy from builder stage (already has full repo)
|
| 62 |
+
COPY --from=builder /app/env/frontend ./frontend
|
| 63 |
+
|
| 64 |
+
WORKDIR /app/frontend
|
| 65 |
|
| 66 |
RUN npm install
|
| 67 |
RUN npm run build
|