ciyidogan commited on
Commit
beaf6f4
·
verified ·
1 Parent(s): 1f59c98

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -52,9 +52,6 @@ WORKDIR /app
52
  RUN mkdir -p /app/.cache /tmp/.triton /tmp/torchinductor_cache \
53
  && chmod -R 777 /app/.cache /tmp/.triton /tmp/torchinductor_cache
54
 
55
- # Config dosyasına ve app klasörüne yazma izni ver
56
- RUN chmod 666 service_config.jsonc && chmod 755 /app
57
-
58
  ENV HF_HOME=/app/.cache \
59
  HF_DATASETS_CACHE=/app/.cache \
60
  HF_HUB_CACHE=/app/.cache \
@@ -67,7 +64,9 @@ RUN pip install --no-cache-dir -r requirements.txt
67
 
68
  # ============================== APP CODE ===============================
69
  COPY . .
70
- RUN chmod 666 service_config.jsonc
 
 
71
 
72
  # ✅ Angular build output'u kopyalanıyor
73
  COPY --from=angular-build /app/flare-ui/dist/flare-ui ./static
 
52
  RUN mkdir -p /app/.cache /tmp/.triton /tmp/torchinductor_cache \
53
  && chmod -R 777 /app/.cache /tmp/.triton /tmp/torchinductor_cache
54
 
 
 
 
55
  ENV HF_HOME=/app/.cache \
56
  HF_DATASETS_CACHE=/app/.cache \
57
  HF_HUB_CACHE=/app/.cache \
 
64
 
65
  # ============================== APP CODE ===============================
66
  COPY . .
67
+
68
+ # Config dosyasına ve app klasörüne yazma izni ver
69
+ RUN chmod 666 service_config.jsonc && chmod 755 /app
70
 
71
  # ✅ Angular build output'u kopyalanıyor
72
  COPY --from=angular-build /app/flare-ui/dist/flare-ui ./static