# Dockerfile for Zillow MCP Server
FROM python:3.9-slim
WORKDIR /app
# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Create .env file from example if it doesn't exist
RUN if [ ! -f .env ]; then cp .env.example .env; fi
# Expose port for HTTP server mode
EXPOSE 8000
# Run the server in HTTP mode
CMD ["python", "zillow_mcp_server.py", "--http", "--port", "8000"]