ASTAROTH0405 commited on
Commit
036fcfd
·
verified ·
1 Parent(s): 471c27b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -30,8 +30,8 @@ ENV PATH="/home/ubuntu/venv/bin:$PATH"
30
  # Asegurar que las herramientas de Python estén al día dentro del entorno aislado
31
  RUN pip install --no-cache-dir --upgrade pip setuptools wheel
32
 
33
- # 3. INSTALAR CODE-SERVER
34
- RUN curl -fsSL https://code-server.dev | sh
35
 
36
  # Configuración de variables de entorno de Hugging Face y puertos
37
  ENV PORT=7860
@@ -39,7 +39,6 @@ ENV HOME=/home/ubuntu
39
  EXPOSE 7860
40
 
41
  # 4. ENLAZAR EL CONTENIDO Y LAS EXTENSIONES AL BUCKET PERSISTENTE (/data)
42
- # Indicamos a VS Code que use /data/extensions para que Cline/Roo Code no se borren al reiniciar.
43
  CMD ["code-server", \
44
  "--bind-addr", "0.0.0.0:7860", \
45
  "--auth", "none", \
 
30
  # Asegurar que las herramientas de Python estén al día dentro del entorno aislado
31
  RUN pip install --no-cache-dir --upgrade pip setuptools wheel
32
 
33
+ # 3. INSTALAR CODE-SERVER (URL Corregida usando el script directo de GitHub)
34
+ RUN curl -fsSL https://githubusercontent.com | sh
35
 
36
  # Configuración de variables de entorno de Hugging Face y puertos
37
  ENV PORT=7860
 
39
  EXPOSE 7860
40
 
41
  # 4. ENLAZAR EL CONTENIDO Y LAS EXTENSIONES AL BUCKET PERSISTENTE (/data)
 
42
  CMD ["code-server", \
43
  "--bind-addr", "0.0.0.0:7860", \
44
  "--auth", "none", \