CPDM's picture
Rename dockerfile to Dockerfile
dac5bbd verified
raw
history blame contribute delete
596 Bytes
# Stage 1: Embed Service
FROM cppd86/fineagent:latest AS fineagents
FROM python:3.10-slim
RUN apt-get update && apt-get install -y supervisor --no-install-recommends && rm -rf /var/lib/apt/lists/*
RUN useradd -m -u 1000 user
WORKDIR /app
# COPY ONLY the /app folder from your original images
COPY --from=fineagents /app /app
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir \
langgraph-checkpoint-sqlite aiosqlite langchain_nvidia_ai_endpoints
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]