agent-zero-space / Dockerfile
ASTAROTH0405's picture
Upload folder using huggingface_hub
28496a3 verified
Raw
History Blame Contribute Delete
553 Bytes
FROM python:3.10-slim
# Instalar dependencias del sistema necesarias
RUN apt-get update && apt-get install -y \
git \
python3-venv \
curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Crear entorno virtual
RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
# Instalar Agent Zero usando el script oficial en el venv
RUN curl -fsSL https://bash.agent-zero.ai | bash
# Copiar script de entrada
COPY entrypoint.sh .
RUN chmod +x entrypoint.sh
# Exponer puerto si es necesario
EXPOSE 7860
ENTRYPOINT ["/app/entrypoint.sh"]