rgres commited on
Commit
2a0f733
·
1 Parent(s): 803b521

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -1,10 +1,7 @@
1
- FROM python:3.9
2
  WORKDIR /app
3
 
4
- RUN distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
5
- && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | apt-key add - \
6
- && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | tee /etc/apt/sources.list.d/nvidia-docker.list \
7
- && apt-get update && apt-get install -y nvidia-container-toolkit
8
 
9
  COPY ./requirements.txt /app/requirements.txt
10
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
 
1
+ FROM nvidia/cuda:12.1.1-devel-ubi8
2
  WORKDIR /app
3
 
4
+ RUN apt update && apt install python3 python3-pip
 
 
 
5
 
6
  COPY ./requirements.txt /app/requirements.txt
7
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt