Spaces:
Running
on
Zero
Running
on
Zero
Update Dockerfile
Browse files- Dockerfile +35 -3
Dockerfile
CHANGED
@@ -3,9 +3,41 @@ FROM pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel
|
|
3 |
# Install dependencies
|
4 |
RUN pip install uv
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
# Set working directory
|
11 |
WORKDIR /app
|
|
|
3 |
# Install dependencies
|
4 |
RUN pip install uv
|
5 |
|
6 |
+
ENV DEBIAN_FRONTEND=noninteractive \
|
7 |
+
TZ=Europe/Paris
|
8 |
+
|
9 |
+
# Remove any third-party apt sources to avoid issues with expiring keys.
|
10 |
+
# Install some basic utilities
|
11 |
+
RUN rm -f /etc/apt/sources.list.d/*.list && \
|
12 |
+
apt-get update && apt-get install -y --no-install-recommends \
|
13 |
+
curl \
|
14 |
+
ca-certificates \
|
15 |
+
sudo \
|
16 |
+
git \
|
17 |
+
wget \
|
18 |
+
procps \
|
19 |
+
git-lfs \
|
20 |
+
zip \
|
21 |
+
unzip \
|
22 |
+
htop \
|
23 |
+
vim \
|
24 |
+
nano \
|
25 |
+
bzip2 \
|
26 |
+
libx11-6 \
|
27 |
+
build-essential \
|
28 |
+
libsndfile-dev \
|
29 |
+
software-properties-common \
|
30 |
+
tmux \
|
31 |
+
&& rm -rf /var/lib/apt/lists/*
|
32 |
+
|
33 |
+
RUN add-apt-repository ppa:flexiondotorg/nvtop && \
|
34 |
+
apt-get upgrade -y && \
|
35 |
+
apt-get install -y --no-install-recommends nvtop
|
36 |
+
|
37 |
+
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
38 |
+
apt-get install -y nodejs && \
|
39 |
+
npm install -g configurable-http-proxy
|
40 |
+
|
41 |
|
42 |
# Set working directory
|
43 |
WORKDIR /app
|