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.
16 lines
349 B
16 lines
349 B
FROM quay.io/nmasse-redhat/jetpack-multiarch:r36.4.0
|
|
|
|
ADD *.py *.jpg *.onnx /opt/app
|
|
WORKDIR /opt/app
|
|
RUN <<EOF
|
|
set -Eeu
|
|
apt update
|
|
DEBIAN_FRONTEND=noninteractive apt install -y git python3-pip
|
|
rm -rf /var/lib/apt/lists/*
|
|
apt-get clean
|
|
pip3 install -y onnxruntime_gpu
|
|
pip3 install -r requirements.txt
|
|
EOF
|
|
|
|
ENTRYPOINT [ "python3", "app.py" ]
|
|
CMD [ ]
|
|
|