Kompres commited on
Commit
dd5f0c2
·
verified ·
1 Parent(s): a387aeb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -1,6 +1,7 @@
1
- FROM node:18
 
2
 
3
- # Instal FFmpeg dan dependensi sistem yang dibutuhkan bot
4
  RUN apt-get update && apt-get install -y \
5
  ffmpeg \
6
  imagemagick \
@@ -11,10 +12,10 @@ RUN apt-get update && apt-get install -y \
11
  # Set direktori kerja
12
  WORKDIR /app
13
 
14
- # Clone repo kamu (Sesuaikan jika repo privat, tapi ini publik kan?)
15
  RUN git clone https://github.com/vakumah/DownloaderX.git .
16
 
17
- # Instal dependensi bot + express untuk keep-alive
18
  RUN npm install
19
  RUN npm install express
20
 
 
1
+ # Gunakan Node.js
2
+ FROM node:20
3
 
4
+ # Instal FFmpeg dan dependensi sistem
5
  RUN apt-get update && apt-get install -y \
6
  ffmpeg \
7
  imagemagick \
 
12
  # Set direktori kerja
13
  WORKDIR /app
14
 
15
+ # Clone repo
16
  RUN git clone https://github.com/vakumah/DownloaderX.git .
17
 
18
+ # Instal dependensi (sekarang sudah pakai Node 20, jadi aman)
19
  RUN npm install
20
  RUN npm install express
21