Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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://
|
| 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", \
|