File size: 726 Bytes
a8466b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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"]