radames commited on
Commit
c84f04c
·
1 Parent(s): 58fb7a9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -1
Dockerfile CHANGED
@@ -1,10 +1,21 @@
1
  FROM nvidia/cuda:12.0.0-cudnn8-devel-ubuntu22.04
2
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  WORKDIR /code
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
-
8
  # Set up a new user named "user" with user ID 1000
9
  RUN useradd -m -u 1000 user
10
  # Switch to the "user" user
 
1
  FROM nvidia/cuda:12.0.0-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 \
9
+ python3.9 \
10
+ python3-pip \
11
+ git \
12
+ ffmpeg \
13
+ && apt-get clean && rm -rf /var/lib/apt/lists/*
14
+
15
  WORKDIR /code
16
 
17
  COPY ./requirements.txt /code/requirements.txt
18
 
 
19
  # Set up a new user named "user" with user ID 1000
20
  RUN useradd -m -u 1000 user
21
  # Switch to the "user" user