Duongkum999 commited on
Commit
599a5f6
1 Parent(s): 1c95fbf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +30 -4
Dockerfile CHANGED
@@ -1,8 +1,34 @@
1
- # Sử dụng Node.js 18 làm base image
2
- FROM node:18
3
 
4
- # Cài đặt git
5
- RUN apt-get update && apt-get install -y git
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
  # Tạo thư mục làm việc trong container
8
  WORKDIR /app
 
1
+ FROM nvidia/cuda:11.3.1-base-ubuntu20.04
 
2
 
3
+ ENV DEBIAN_FRONTEND=noninteractive \
4
+ TZ=Europe/Paris
5
+
6
+ # Remove any third-party apt sources to avoid issues with expiring keys.
7
+ # Install some basic utilities
8
+ RUN rm -f /etc/apt/sources.list.d/*.list && \
9
+ apt-get update && apt-get install -y --no-install-recommends \
10
+ curl \
11
+ ca-certificates \
12
+ sudo \
13
+ git \
14
+ wget \
15
+ procps \
16
+ git-lfs \
17
+ zip \
18
+ unzip \
19
+ htop \
20
+ vim \
21
+ nano \
22
+ bzip2 \
23
+ libx11-6 \
24
+ build-essential \
25
+ libsndfile-dev \
26
+ software-properties-common \
27
+ && rm -rf /var/lib/apt/lists/*
28
+
29
+ RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
30
+ apt-get install -y nodejs && \
31
+ npm install -g configurable-http-proxy
32
 
33
  # Tạo thư mục làm việc trong container
34
  WORKDIR /app