Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -16,8 +16,10 @@ COPY flare-ui/ ./
|
|
16 |
# ✅ Clean Angular cache before build
|
17 |
RUN rm -rf .angular/ dist/ node_modules/.cache/
|
18 |
|
19 |
-
# Build the Angular app
|
20 |
-
RUN npm run build -- --configuration=development
|
|
|
|
|
21 |
|
22 |
# Debug: List directories to see where the build output is
|
23 |
RUN ls -la /app/flare-ui/ && ls -la /app/flare-ui/dist/ || true
|
|
|
16 |
# ✅ Clean Angular cache before build
|
17 |
RUN rm -rf .angular/ dist/ node_modules/.cache/
|
18 |
|
19 |
+
# Build the Angular app for DEVELOPMENT ***
|
20 |
+
RUN npm run build -- --configuration=development --delete-output-path
|
21 |
+
# Build the Angular app for PRODUCTION ***
|
22 |
+
#RUN npm run build --delete-output-path
|
23 |
|
24 |
# Debug: List directories to see where the build output is
|
25 |
RUN ls -la /app/flare-ui/ && ls -la /app/flare-ui/dist/ || true
|