Vitrous commited on
Commit
41e3c8b
·
verified ·
1 Parent(s): 000e55d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile CHANGED
@@ -1,4 +1,17 @@
1
  FROM python:3.9
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  # Set HF_HOME environment variable to specify cache directory
4
  ENV HF_HOME=/code/.cache/huggingface
 
1
  FROM python:3.9
2
+ FROM nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04
3
+
4
+ ARG DEBIAN_FRONTEND=noninteractive
5
+
6
+ ENV PYTHONUNBUFFERED=1
7
+
8
+ RUN apt-get update && apt-get install --no-install-recommends -y \
9
+ build-essential \
10
+ python3.9 \
11
+ python3-pip \
12
+ git \
13
+ ffmpeg \
14
+ && apt-get clean && rm -rf /var/lib/apt/lists/*
15
 
16
  # Set HF_HOME environment variable to specify cache directory
17
  ENV HF_HOME=/code/.cache/huggingface