FROM modelhubxc-4pd.tencentcloudcr.com/xc_agent_platform/python:3.11-slim

WORKDIR /app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY app ./app
COPY seeds ./seeds
COPY scripts ./scripts
COPY config.local.json ./

EXPOSE 8080

ENV PYTHONUNBUFFERED=1
CMD ["python", "-m", "app.main"]
