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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -5
Dockerfile CHANGED
@@ -3,15 +3,30 @@ FROM ubuntu:22.04
3
  ENV DEBIAN_FRONTEND=noninteractive
4
 
5
  # Update dan install dependencies
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
 
3
  ENV DEBIAN_FRONTEND=noninteractive
4
 
5
  # Update dan install dependencies
6
+ RUN apt-get update && \
7
+ apt-get upgrade -y && \
8
+ apt-get install -y \
9
+ curl \
10
+ python3.11 \
11
+ python3-pip \
12
+ libmagic1 \
13
+ speedtest-cli \
14
+ neofetch \
15
+ ffmpeg \
16
+ imagemagick \
17
+ git \
18
+ git-lfs \
19
+ zip \
20
+ wget \
21
+ unzip \
22
+ yarn \
23
+ whois \
24
+ software-properties-common || apt-get install -y --fix-missing
25
 
26
  # Install Node.js dan npm
27
  RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
28
  apt-get install -y nodejs && \
29
+ npm install -g npm@latest # Adjust npm version if needed
30
 
31
  RUN npm install -g pm2
32
  RUN npm install -g yarn