PookieDiatyz commited on
Commit
f095013
·
verified ·
1 Parent(s): ce7b110

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -6,13 +6,13 @@ ENV DEBIAN_FRONTEND=noninteractive
6
  RUN apt-get update && apt-get install -y curl python3.11 python3-pip libmagic1 speedtest-cli neofetch ffmpeg imagemagick git git-lfs zip wget unzip yarn whois
7
 
8
  RUN apt-get install -y \
9
- software-properties-common \
10
- npm
11
 
12
  # Install Node.js dan npm
13
- RUN npm install n -g
14
- RUN n 20
15
- RUN npm install npm@latest -g
 
16
  RUN npm install -g pm2
17
  RUN npm install -g yarn
18
 
 
6
  RUN apt-get update && apt-get install -y curl python3.11 python3-pip libmagic1 speedtest-cli neofetch ffmpeg imagemagick git git-lfs zip wget unzip yarn whois
7
 
8
  RUN apt-get install -y \
9
+ software-properties-common
 
10
 
11
  # Install Node.js dan npm
12
+ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
13
+ apt-get install -y nodejs && \
14
+ npm install -g npm@latest # You can specify a specific npm version here if needed
15
+
16
  RUN npm install -g pm2
17
  RUN npm install -g yarn
18