drrobot9 commited on
Commit
e91a68d
·
verified ·
1 Parent(s): 3b2aa0d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.11-slim-bookworm
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive \
4
  PYTHONUNBUFFERED=1 \
@@ -26,7 +26,7 @@ COPY requirements.txt .
26
  RUN pip install --no-cache-dir -r requirements.txt
27
 
28
  # Pre-download model
29
- RUN python - <<EOF
30
  from huggingface_hub import snapshot_download
31
  snapshot_download(
32
  repo_id="LiquidAI/LFM2.5-Audio-1.5B",
@@ -34,7 +34,7 @@ snapshot_download(
34
  local_dir_use_symlinks=False
35
  )
36
  print("Model downloaded successfully.")
37
- EOF
38
 
39
  COPY . .
40
 
 
1
+ FROM python:3.12-slim-bookworm
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive \
4
  PYTHONUNBUFFERED=1 \
 
26
  RUN pip install --no-cache-dir -r requirements.txt
27
 
28
  # Pre-download model
29
+ RUN python - <<PYEOF
30
  from huggingface_hub import snapshot_download
31
  snapshot_download(
32
  repo_id="LiquidAI/LFM2.5-Audio-1.5B",
 
34
  local_dir_use_symlinks=False
35
  )
36
  print("Model downloaded successfully.")
37
+ PYEOF
38
 
39
  COPY . .
40