Spaces:
Sleeping
Sleeping
Download Dockerfile from devbratjha/modeltest: direct link, hf CLI and curl.
- Browser
- Download file 726 Bytes
-
https://huggingface.co/spaces/devbratjha/modeltest/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/devbratjha/modeltest/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/devbratjha/modeltest/resolve/main/Dockerfile
726 Bytes
| # python base image | |
| FROM python:3.10 | |
| # Set up the working directory | |
| WORKDIR /app | |
| # Copy all the files from this folder into the Docker container | |
| COPY . /app | |
| # Install the standard requirements | |
| RUN pip install -r requirements.txt | |
| # VERY IMPORTANT: If your 'adk' package was installed locally from an internal source, | |
| # you MUST install it here as well. | |
| # For example, if it's open source: RUN pip install google-adk | |
| # Or copy the adk folder if it was manually provided to you. | |
| # Hugging Face Spaces runs all Docker containers on port 7860 | |
| EXPOSE 7860 | |
| # The command to start the ADK web interface | |
| # Note: Ensure the adk web command knows how to bind to port 7860 | |
| CMD ["adk", "web", "--port", "7860", "--host", "0.0.0.0"] | |