Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -50,6 +50,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
50 |
COPY . .
|
51 |
RUN chmod 666 service_config.jsonc
|
52 |
|
|
|
|
|
|
|
53 |
# Copy Angular build output - fixed path
|
54 |
# ✅ Angular build output'u kopyalanıyor
|
55 |
COPY --from=angular-build /app/flare-ui/dist/flare-ui ./static
|
|
|
50 |
COPY . .
|
51 |
RUN chmod 666 service_config.jsonc
|
52 |
|
53 |
+
# ✅ Clean Angular cache before build
|
54 |
+
RUN rm -rf .angular/ dist/ node_modules/.cache/
|
55 |
+
|
56 |
# Copy Angular build output - fixed path
|
57 |
# ✅ Angular build output'u kopyalanıyor
|
58 |
COPY --from=angular-build /app/flare-ui/dist/flare-ui ./static
|