You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
260 B

FROM registry.ngaiot.com/tools/opencv_python_base_image:1
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"]