Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -29,6 +29,10 @@ RUN apt-get remove -y nodejs libnode-dev || true
|
|
| 29 |
# Clean cached packages just in case
|
| 30 |
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
# Install code-server
|
| 33 |
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 34 |
|
|
|
|
| 29 |
# Clean cached packages just in case
|
| 30 |
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
| 31 |
|
| 32 |
+
# Re-update and install Node.js from NodeSource
|
| 33 |
+
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
|
| 34 |
+
apt-get install -y nodejs
|
| 35 |
+
|
| 36 |
# Install code-server
|
| 37 |
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 38 |
|