Commit 71bc9b0c authored by sbl1996@126.com's avatar sbl1996@126.com

Add mycard dockerfile

parent 83777a2d
Pipeline #28498 failed with stages
FROM python:3.10.14-bookworm as base
LABEL Author="Hastur <sbl1996@gmail.com>"
WORKDIR /usr/src/app
COPY ./ygoinf ./
COPY ./assets/log_conf.yaml ./
RUN pip install -e .
RUN wget https://github.com/sbl1996/ygo-agent/releases/download/v0.1/0546_26550M.tflite
ENV CHECKPOINT 0546_26550M.tflite
EXPOSE 3000
CMD [ "uvicorn", "ygoinf.server:app", "--host", "127.0.0.1", "--port", "3000", "--log-config=log_conf.yaml" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment