Dockerized every modules

This commit is contained in:
saundersp
2024-04-27 20:51:36 +02:00
parent 226df0882c
commit 466fd0f782
7 changed files with 95 additions and 0 deletions

12
python/Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM nvidia/cuda:12.4.1-devel-ubi9 as builder
RUN dnf install -y python3.11-3.11.5-1.el9_3 && dnf clean all
RUN 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"]