| |
| |
| |
|
|
| ARG NUCLIO_LABEL=1.13.0 |
| ARG NUCLIO_ARCH=amd64 |
|
|
| |
| FROM nuclio/uhttpc:0.0.3-amd64 as uhttpc |
| FROM quay.io/nuclio/handler-builder-python-onbuild:${NUCLIO_LABEL}-${NUCLIO_ARCH} as processor |
|
|
| |
| FROM cvat.pth.mmseg.coralscopsegformer.base:latest |
|
|
| |
| COPY --from=processor /home/nuclio/bin/processor /usr/local/bin/processor |
| COPY --from=processor /home/nuclio/bin/py /opt/nuclio/ |
| COPY --from=processor /home/nuclio/bin/py*-whl/* /opt/nuclio/whl/ |
| COPY --from=uhttpc /home/nuclio/bin/uhttpc /usr/local/bin/uhttpc |
|
|
| |
| RUN python -m pip install pip --no-index --find-links /opt/nuclio/whl \ |
| && python -m pip install nuclio-sdk msgpack --no-index --find-links /opt/nuclio/whl |
|
|
| |
| COPY function-no-build.yaml /etc/nuclio/config/processor/processor.yaml |
|
|
| |
| HEALTHCHECK --interval=1s --timeout=3s CMD /usr/local/bin/uhttpc --url http://127.0.0.1:8082/ready || exit 1 |
|
|
| |
| CMD ["processor"] |
|
|