Update Dockerfile
Browse files- Dockerfile +5 -9
Dockerfile
CHANGED
|
@@ -1,17 +1,13 @@
|
|
| 1 |
FROM debian:latest
|
| 2 |
|
| 3 |
-
# Step 1: Dasar
|
| 4 |
RUN apt-get update && apt-get install -y curl wget sudo python3 python3-pip gnupg
|
| 5 |
-
|
| 6 |
-
# Step 2: Node.js v22
|
| 7 |
-
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
|
| 8 |
-
RUN apt-get install -y nodejs
|
| 9 |
-
|
| 10 |
-
# Step 3: VS Code
|
| 11 |
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
|
|
|
| 12 |
|
| 13 |
-
#
|
| 14 |
-
RUN
|
|
|
|
| 15 |
|
| 16 |
WORKDIR /home/user/app
|
| 17 |
COPY . .
|
|
|
|
| 1 |
FROM debian:latest
|
| 2 |
|
|
|
|
| 3 |
RUN apt-get update && apt-get install -y curl wget sudo python3 python3-pip gnupg
|
| 4 |
+
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && apt-get install -y nodejs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 6 |
+
RUN pip3 install flask --break-system-packages
|
| 7 |
|
| 8 |
+
# Download Cloudflared untuk Tunneling
|
| 9 |
+
RUN wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb \
|
| 10 |
+
&& dpkg -i cloudflared-linux-amd64.deb
|
| 11 |
|
| 12 |
WORKDIR /home/user/app
|
| 13 |
COPY . .
|