Files
xc_validation_strategy/Dockerfile
2026-06-12 14:51:50 +08:00

19 lines
490 B
Docker

FROM modelhubxc-4pd.tencentcloudcr.com/xc_agent_platform/python:3.11-slim
ENV PYTHONUNBUFFERED=1 \
USER_ACCOUNT="zhoushasha@4paradigm.com" \
USER_PASSWORD="4pdpassword" \
CONTEST_API_TOKEN="ef1ef82f3c9efee413d602345fbe224d" \
CONTRIBUTORS="zhoushasha" \
GPU_TYPE="Cambricon_mlu-370-x8"
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
COPY . .
EXPOSE 8080
CMD ["python", "main.py"]