EuuIia commited on
Commit
1316ea3
·
verified ·
1 Parent(s): cec5209

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -11
Dockerfile CHANGED
@@ -95,32 +95,28 @@ RUN apt-get update && apt-get install -y curl && \
95
 
96
  RUN echo "Instalando q8_kernels (wheel) e LTX-Video (git)..." && \
97
  # 1. Instala q8_kernels a partir do seu arquivo .whl pré-compilado
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
-
110
-
111
  # Scripts e configs
112
  COPY info.sh ./app/info.sh
113
  COPY builder.sh ./app/builder.sh
114
  COPY start.sh ./app/start.sh
115
  COPY entrypoint.sh ./app/entrypoint.sh
116
 
117
-
118
  COPY . .
119
  RUN useradd -m -u 1000 -s /bin/bash appuser
120
  RUN chown -R appuser:appuser /app && \
121
  chmod 0755 /app/entrypoint.sh /app/start.sh /app/info.sh /app/builder.sh
122
 
123
- #USER appuser
124
 
125
 
126
  # Declara volume persistente para HF Spaces
@@ -136,8 +132,6 @@ ENV HF_HUB_ENABLE_HF_TRANSFER=1
136
  ENV TOKENIZERS_PARALLELISM=false
137
 
138
 
139
- #VOLUME ["/data/.cache/huggingface/hub"]
140
-
141
  ENTRYPOINT ["/app/entrypoint.sh"]
142
 
143
  USER appuser
 
95
 
96
  RUN echo "Instalando q8_kernels (wheel) e LTX-Video (git)..." && \
97
  # 1. Instala q8_kernels a partir do seu arquivo .whl pré-compilado
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
  # Scripts e configs
110
  COPY info.sh ./app/info.sh
111
  COPY builder.sh ./app/builder.sh
112
  COPY start.sh ./app/start.sh
113
  COPY entrypoint.sh ./app/entrypoint.sh
114
 
 
115
  COPY . .
116
  RUN useradd -m -u 1000 -s /bin/bash appuser
117
  RUN chown -R appuser:appuser /app && \
118
  chmod 0755 /app/entrypoint.sh /app/start.sh /app/info.sh /app/builder.sh
119
 
 
120
 
121
 
122
  # Declara volume persistente para HF Spaces
 
132
  ENV TOKENIZERS_PARALLELISM=false
133
 
134
 
 
 
135
  ENTRYPOINT ["/app/entrypoint.sh"]
136
 
137
  USER appuser