modeltest / Dockerfile
devbratjha's picture
Create Dockerfile
a8466b5 verified
Raw History Blame Contribute Delete
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"]