Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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 &&
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 #
|
| 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
|