Spaces:
Build error
Build error
Download Dockerfile from Kevork-Nexacrawl-dev/Superagi: direct link, hf CLI and curl.
- Browser
- Download file 614 Bytes
-
https://huggingface.co/spaces/Kevork-Nexacrawl-dev/Superagi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Kevork-Nexacrawl-dev/Superagi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Kevork-Nexacrawl-dev/Superagi/resolve/main/Dockerfile
614 Bytes
| FROM python:3.9-slim-buster | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| git \ | |
| curl \ | |
| wget \ | |
| unzip \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the SuperAGI source code into the container | |
| COPY . . | |
| # Expose the port SuperAGI runs on (default is 8001) | |
| EXPOSE 8001 | |
| # Run migrations | |
| RUN alembic upgrade head | |
| # Command to run the SuperAGI server | |
| CMD ["python", "-m", "superagi"] |