-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainerfile.root
More file actions
28 lines (24 loc) · 860 Bytes
/
Containerfile.root
File metadata and controls
28 lines (24 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM registry.access.redhat.com/ubi9/ubi
LABEL name="Retail - Apparel Logo" \
vendor="Guise AI" \
version="1.0.0" \
release="1" \
summary="Apparel logo detection" \
description="Retail Edge with Apparel Logo Detection is a ML \
application to provide insights on the customer behavior and \
trends helping retailers improve demand forecasting."
RUN yum update -y
RUN yum install -y python3 python3-pip python3-devel g++
WORKDIR /app
COPY . /app
COPY application/licenses/ /licenses/
ENV LD_LIBRARY_PATH=/app/application/lib_rlm:$LD_LIBRARY_PATH
RUN pip install --upgrade pip setuptools urllib3==1.26.5
RUN pip install install Cython
RUN pip install install numpy
RUN pip install wheel
RUN pip install lap
RUN pip install -r requirements.txt
RUN pip install opencv-python-headless
EXPOSE 9080
CMD ["python3","-u" ,"./run.pyc"]