FROM git.modelhub.org.cn:9443/enginex-ascend/vllm-ascend:v0.10.0rc1

WORKDIR /workspace/
COPY ./model_test_caltech_http_ascend.py /workspace/
COPY ./microsoft_beit_base_patch16_224_pt22k_ft22k /model


# 安装transformers 4.46.3
RUN python3 -m pip install --no-cache-dir transformers==4.46.3


RUN python3 -m pip install flask==3.1.1

EXPOSE 80


ENTRYPOINT ["python3", "model_test_caltech_http_ascend.py"]
