ecommerceaiagents / Dockerfile
thundarstrom's picture
Deploy LangGraph AI agents
f20fcc4
raw
history blame contribute delete
431 Bytes
FROM python:3.11-slim
WORKDIR /app
# Ensure curl for healthchecks if needed
RUN apt-get update && apt-get install -y --no-install-recommends curl \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application
COPY app/ ./app/
COPY main.py .
ENV PYTHONPATH=/app
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]