ciyidogan commited on
Commit
bf084d1
·
verified ·
1 Parent(s): 77d42ec

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -13,6 +13,9 @@ RUN npm cache clean --force && npm install --legacy-peer-deps
13
  # Copy the entire flare-ui directory
14
  COPY flare-ui/ ./
15
 
 
 
 
16
  # Build the Angular app
17
  RUN npm run build
18
 
@@ -50,10 +53,6 @@ RUN pip install --no-cache-dir -r requirements.txt
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
59
 
 
13
  # Copy the entire flare-ui directory
14
  COPY flare-ui/ ./
15
 
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
21
 
 
53
  COPY . .
54
  RUN chmod 666 service_config.jsonc
55
 
 
 
 
 
56
  # ✅ Angular build output'u kopyalanıyor
57
  COPY --from=angular-build /app/flare-ui/dist/flare-ui ./static
58