-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (29 loc) · 724 Bytes
/
Dockerfile
File metadata and controls
34 lines (29 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04
# Set the working directory in the container
WORKDIR /content
RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y \
libgl1 \
libglib2.0-0 \
python3-pip \
python-is-python3 \
python3.10-dev \
bash \
gcc \
build-essential \
# wget \
# git \
# git-lfs \
# curl \
libffi-dev \
libssl-dev \
openssl \
# tcl-dev \
# tk-dev \
ca-certificates && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt /content/requirements.txt
RUN pip3 install -r /content/requirements.txt
COPY . /content
CMD ["python", "app.py"]