2 changed files with 10 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||
FROM registry.ngaiot.com/tools/cv4.10_np2.2:v2 |
|||
WORKDIR /app/ |
|||
COPY ./wuyuanbiaoba ./wuyuanbiaoba |
|||
RUN pyinstaller -F --name=wuyuan.app --python-option=O ./wuyuanbiaoba/app.py |
|||
COPY ./wuyuanbiaoba/config.json ./dist/ |
|||
CMD ["/app/dist/wuyuan.app"] |
@ -0,0 +1,4 @@ |
|||
FROM registry.ngaiot.com/tools/python:3.10.18 |
|||
RUN pip3 install opencv-python==4.10.0.84 -i https://mirrors.aliyun.com/pypi/simple/ |
|||
RUN pip3 install numpy==2.2.6 -i https://mirrors.aliyun.com/pypi/simple/ |
|||
RUN pip3 install pyinstaller==6.14.1 -i https://mirrors.aliyun.com/pypi/simple/ |
Loading…
Reference in new issue