Spaces:
Runtime error
Runtime error
Download Dockerfile from nakas/Code-agent-v1: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/spaces/nakas/Code-agent-v1/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/nakas/Code-agent-v1/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/nakas/Code-agent-v1/resolve/main/Dockerfile
342 Bytes
| FROM jupyter/minimal-notebook:python-3.9 | |
| USER root | |
| # Install Gradio | |
| RUN pip install --no-cache-dir gradio | |
| # Copy application files | |
| COPY app.py /home/jovyan/ | |
| COPY welcome.ipynb /home/jovyan/ | |
| # Switch back to non-root user | |
| USER jovyan | |
| # Expose the port Hugging Face expects | |
| EXPOSE 7860 | |
| # Run the app | |
| CMD ["python", "/home/jovyan/app.py"] | |