Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -5,10 +5,9 @@ FROM python:3.9-slim
|
|
5 |
RUN apt-get update && \
|
6 |
apt-get install -y curl git ca-certificates lsb-release
|
7 |
|
8 |
-
# Install Node.js from NodeSource (
|
9 |
-
RUN curl -fsSL https://deb.nodesource.com/
|
10 |
apt-get install -y nodejs
|
11 |
-
|
12 |
# Install pnpm globally
|
13 |
RUN npm install -g pnpm
|
14 |
|
|
|
5 |
RUN apt-get update && \
|
6 |
apt-get install -y curl git ca-certificates lsb-release
|
7 |
|
8 |
+
# Install Node.js v18.x from NodeSource (compatible with pnpm)
|
9 |
+
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
10 |
apt-get install -y nodejs
|
|
|
11 |
# Install pnpm globally
|
12 |
RUN npm install -g pnpm
|
13 |
|