Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
| 14 |
-
|
| 15 |
-
|
|
|
|
| 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 |
|