phongtran commited on
Commit
74a6152
·
1 Parent(s): 45afd53
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -1,9 +1,8 @@
1
- FROM nvidia/cuda:11.2.1-runtime-ubuntu20.04
2
 
3
  ARG DEBIAN_FRONTEND=noninteractive
4
 
5
  ENV PYTHONUNBUFFERED=1
6
- ENV CUDA_VISIBLE_DEVICES=1
7
 
8
  RUN apt-get update && apt-get install --no-install-recommends -y \
9
  build-essential \
@@ -15,11 +14,9 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
15
 
16
  WORKDIR /code
17
 
18
- COPY ./pre-requirements.txt /code/pre-requirements.txt
19
-
20
  COPY ./requirements.txt /code/requirements.txt
21
 
22
-
23
  # Set up a new user named "user" with user ID 1000
24
  RUN useradd -m -u 1000 user
25
  # Switch to the "user" user
 
1
+ FROM nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04
2
 
3
  ARG DEBIAN_FRONTEND=noninteractive
4
 
5
  ENV PYTHONUNBUFFERED=1
 
6
 
7
  RUN apt-get update && apt-get install --no-install-recommends -y \
8
  build-essential \
 
14
 
15
  WORKDIR /code
16
 
17
+ COPY ./requirements.txt /code/pre-requirements.txt
 
18
  COPY ./requirements.txt /code/requirements.txt
19
 
 
20
  # Set up a new user named "user" with user ID 1000
21
  RUN useradd -m -u 1000 user
22
  # Switch to the "user" user