FROM git.modelhub.org.cn:9443/enginex-ascend/cann:8.2.rc1-910b-ubuntu22.04-py3.11 WORKDIR /workspace COPY requirements.txt /workspace RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple ADD . /workspace EXPOSE 80 CMD ["sh", "-c", "python3 fastapi_translate.py"]