14 lines
296 B
Docker
14 lines
296 B
Docker
FROM nvidia/cuda:12.5.0-devel-ubi9 as builder
|
|
|
|
RUN dnf install -y python3.11-3.11.7-1.el9 \
|
|
&& dnf clean all \
|
|
&& ln -s /usr/bin/python3 /usr/bin/python
|
|
|
|
WORKDIR /home/ViolaJones/python
|
|
COPY Makefile activate.sh requirements.txt ./
|
|
RUN make venv
|
|
COPY *.py ./
|
|
|
|
ENTRYPOINT ["make"]
|
|
CMD ["start"]
|