euIaxs22 commited on
Commit
dc9f96f
·
verified ·
1 Parent(s): d1b13dd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -3
Dockerfile CHANGED
@@ -43,7 +43,7 @@ RUN mkdir -p /data /data/.cache/huggingface /home/user/.cache/models && ln -sf /
43
 
44
  # ---------------- Sistema & Python ----------------
45
  RUN apt-get update && apt-get install -y --no-install-recommends \
46
- build-essential gosu tree cmake git git-lfs curl wget ffmpeg ninja-build \
47
  python3.10 python3.10-dev python3.10-distutils python3-pip \
48
  && apt-get clean && rm -rf /var/lib/apt/lists/*
49
 
@@ -98,8 +98,12 @@ RUN echo "Instalando q8_kernels (wheel) e LTX-Video (git)..." && \
98
  pip install --no-cache-dir "https://huggingface.co/euIaxs22/Aduc-sdr/resolve/main/q8_kernels-0.0.5-cp310-cp310-linux_x86_64.whl" && \
99
 
100
  # 2. Instala a biblioteca LTX-Video a partir do fork (esta parte permanece igual)
101
- pip install --no-cache-dir git+https://github.com/Lightricks/LTX-Video.git /data/LTX-Video
102
-
 
 
 
 
103
  # ====================================================================
104
 
105
 
 
43
 
44
  # ---------------- Sistema & Python ----------------
45
  RUN apt-get update && apt-get install -y --no-install-recommends \
46
+ build-essential gosu tree cmake venv git git-lfs curl wget ffmpeg ninja-build \
47
  python3.10 python3.10-dev python3.10-distutils python3-pip \
48
  && apt-get clean && rm -rf /var/lib/apt/lists/*
49
 
 
98
  pip install --no-cache-dir "https://huggingface.co/euIaxs22/Aduc-sdr/resolve/main/q8_kernels-0.0.5-cp310-cp310-linux_x86_64.whl" && \
99
 
100
  # 2. Instala a biblioteca LTX-Video a partir do fork (esta parte permanece igual)
101
+ git clone https://github.com/Lightricks/LTX-Video.git /data/LTX-Video && \
102
+ cd /data/LTX-Video && \
103
+ python -m venv env && \
104
+ source env/bin/activate && \
105
+ python -m pip install -e .\[inference\] && \
106
+ cd ..
107
  # ====================================================================
108
 
109