add Dockerfile

This commit is contained in:
huni committed 2026-07-24 13:41:35 +08:00
1 parent 5b0074f860
commit d38849fdd9
1 file changed
+12
+12
View File
@@ -0,0 +1,12 @@
FROM modelhubxc-4pd.tencentcloudcr.com/xc_agent_platform/python:3.11-slim
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8080
CMD ["python", "main.py"]