Download Dockerfile from AZILS/ide: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/spaces/AZILS/ide/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AZILS/ide/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AZILS/ide/resolve/main/Dockerfile
1.09 kB
| FROM python:3.11-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Set environment variables | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| ENV APPIMAGE_EXTRACT_AND_RUN=1 | |
| # Update and install dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| curl \ | |
| gpg \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Add Antigravity repository | |
| RUN mkdir -p /etc/apt/keyrings | |
| RUN curl -fsSL https://us-central1-apt.pkg.dev/doc/repo-signing-key.gpg | \ | |
| gpg --dearmor --yes -o /etc/apt/keyrings/antigravity-repo-key.gpg | |
| RUN echo "deb [signed-by=/etc/apt/keyrings/antigravity-repo-key.gpg] https://us-central1-apt.pkg.dev/projects/antigravity-auto-updater-dev/ antigravity-debian main" | \ | |
| tee /etc/apt/sources.list.d/antigravity.list | |
| # Update and install Antigravity | |
| RUN apt-get update && apt-get install -y \ | |
| antigravity \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Expose Hugging Face Spaces default port | |
| EXPOSE 7860 | |
| # Default command with required flags for running as root | |
| CMD ["antigravity", "--no-sandbox", "--user-data-dir=/tmp/antigravity-data"] | |