FROM git.modelhub.org.cn:9443/enginex-iluvatar/mr100_corex:4.3.0

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"]
