AI-Agent-Book / Dockerfile
Cuong2004's picture
Add Dockerfile and update README.md to use docker SDK
5eb4437
raw
history blame contribute delete
315 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY . /app/
RUN pip install --no-cache-dir -r requirements.txt
# Make port 7860 available (Hugging Face Spaces uses this port)
EXPOSE 7860
# Set environment variables
ENV PORT=7860
ENV HOST=0.0.0.0
# Run the application
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]