Spaces:
Building
Building
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -3,8 +3,9 @@
|
|
3 |
FROM node:18-slim AS angular-build
|
4 |
WORKDIR /app
|
5 |
COPY flare-ui/package*.json ./
|
6 |
-
|
7 |
-
|
|
|
8 |
COPY flare-ui/ ./
|
9 |
RUN npm run build
|
10 |
# Debug: List directories to see where the build output is
|
|
|
3 |
FROM node:18-slim AS angular-build
|
4 |
WORKDIR /app
|
5 |
COPY flare-ui/package*.json ./
|
6 |
+
|
7 |
+
# Clean npm cache and install with legacy peer deps
|
8 |
+
RUN npm cache clean --force && npm install --legacy-peer-deps
|
9 |
COPY flare-ui/ ./
|
10 |
RUN npm run build
|
11 |
# Debug: List directories to see where the build output is
|