Commit 1c967466 authored by sbl1996@126.com's avatar sbl1996@126.com

Fix host

parent 13e22951
Pipeline #28501 passed with stages
in 1 minute and 26 seconds
......@@ -2,12 +2,12 @@ FROM python:3.10.14-bookworm as base
LABEL Author="Hastur <sbl1996@gmail.com>"
WORKDIR /usr/src/app
RUN wget https://github.com/sbl1996/ygo-agent/releases/download/v0.1/0546_26550M.tflite
COPY ./ygoinf ./
COPY ./assets/log_conf.yaml ./
COPY ./scripts/code_list.txt ./
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" ]
CMD [ "uvicorn", "ygoinf.server:app", "--host", "0.0.0.0", "--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