AIencoder commited on
Commit
9ac41e6
·
verified ·
1 Parent(s): 7c048c0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -44,7 +44,11 @@ RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
44
  # Install PyTorch separately for compatibility
45
  RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
46
 
47
- # Copy application files
 
 
 
 
48
  COPY . /app
49
 
50
  # Expose port
 
44
  # Install PyTorch separately for compatibility
45
  RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
46
 
47
+ # 1. Copy entrypoint to the ROOT directory (Critical Fix)
48
+ COPY entrypoint.sh /entrypoint.sh
49
+ RUN chmod +x /entrypoint.sh
50
+
51
+ # 2. Copy the rest of the app to /app
52
  COPY . /app
53
 
54
  # Expose port