2026-10-26 23:11:46 +08:00
|
|
|
FROM modelhubxc-4pd.tencentcloudcr.com/xc_agent_platform/python:3.11-slim
|
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
|
WORKDIR /app
|
2026-10-26 23:36:03 +08:00
|
|
|
COPY requirements.txt /app/requirements.txt
|
|
|
|
|
RUN pip install --no-cache-dir -r /app/requirements.txt
|
2026-10-26 23:11:46 +08:00
|
|
|
COPY app.py /app/app.py
|
|
|
|
|
EXPOSE 8080
|
|
|
|
|
CMD ["python", "/app/app.py"]
|