choephix commited on
Commit
5d407c4
·
verified ·
1 Parent(s): 8736bfa

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04
2
+
3
+ RUN apt-get update && apt-get install -y \
4
+ python3.10 python3.10-venv python3-pip git \
5
+ && rm -rf /var/lib/apt/lists/*
6
+
7
+ WORKDIR /app
8
+ COPY . /app
9
+
10
+ RUN python3.10 -m pip install --upgrade pip
11
+ RUN python3.10 -m pip install --no-cache-dir -r requirements.txt
12
+
13
+ CMD ["python3.10", "app.py"]