Chan-Y commited on
Commit
cc4a1b1
·
1 Parent(s): 834b67f

docker fix2

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -16,9 +16,7 @@ RUN pip install --no-cache-dir -r requirements.txt
16
 
17
  # Copy Backend Code
18
  COPY backend ./backend
19
- # Note: .env might not be safe to copy if it has secrets, but for this context it's okay.
20
- # Better to use HF Space Secrets.
21
- COPY .env .
22
 
23
  # Copy Built Frontend to Static Directory expected by backend.py
24
  COPY --from=frontend-builder /app/frontend/dist ./static
 
16
 
17
  # Copy Backend Code
18
  COPY backend ./backend
19
+ # Note: .env is not copied. Secrets are handled via HF Spaces env vars.
 
 
20
 
21
  # Copy Built Frontend to Static Directory expected by backend.py
22
  COPY --from=frontend-builder /app/frontend/dist ./static