提交 99764402 authored 作者: blu's avatar blu

human detector: mqtt msg revise

上级 c167225e
FROM python:slim FROM python:3.7-buster
ENV MAINTAINER=Bruce.Lu ENV MAINTAINER=Bruce.Lu
WORKDIR /apps/app WORKDIR /apps/app
...@@ -12,14 +12,13 @@ ENV BIN_DIR=/apps/app/ ...@@ -12,14 +12,13 @@ ENV BIN_DIR=/apps/app/
ENV CFG_DIR=edet_model.pth ENV CFG_DIR=edet_model.pth
COPY requirement.txt /apps/app/ COPY requirement.txt /apps/app/
RUN pip install --upgrade cython numpy RUN pip install --upgrade cython numpy
RUN pip install pillow==6.1 torchvision opencv-contrib-python
RUN pip install -r requirement.txt RUN pip install -r requirement.txt
COPY web.py /apps/app/ RUN pip install pillow==6.1 torchvision opencv-contrib-python
COPY detect_video.py /apps/app/ COPY detect_video.py /apps/app/
COPY edet_model.pth /apps/app/ COPY edet_model.pth /apps/app/
COPY src /apps/app/src COPY src /apps/app/src
COPY web.py /apps/app/
COPY start.sh /apps/app COPY start.sh /apps/app
EXPOSE 5555 EXPOSE 5555
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论