samwaugh commited on
Commit
7166648
·
1 Parent(s): eb7acae

New data root

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -17,9 +17,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
17
  COPY requirements.txt .
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
20
- # Copy data FIRST (this creates the /data directory with content)
21
- COPY data /data
22
-
23
  # Copy repo code
24
  COPY . .
25
 
@@ -27,7 +24,7 @@ COPY . .
27
  ENV PORT=7860 PYTHONUNBUFFERED=1
28
 
29
  # Set environment variables for Phase 2 (real ML)
30
- ENV DATA_ROOT=/data
31
  ENV STUB_MODE=0
32
 
33
  # Use ENTRYPOINT instead of CMD to prevent Hugging Face from overriding
 
17
  COPY requirements.txt .
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
 
 
 
20
  # Copy repo code
21
  COPY . .
22
 
 
24
  ENV PORT=7860 PYTHONUNBUFFERED=1
25
 
26
  # Set environment variables for Phase 2 (real ML)
27
+ ENV DATA_ROOT=/app/data
28
  ENV STUB_MODE=0
29
 
30
  # Use ENTRYPOINT instead of CMD to prevent Hugging Face from overriding