Charan5775 commited on
Commit
6fe9c49
·
verified ·
1 Parent(s): 97ffdb6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 (ensure it's available before installing pnpm)
9
- RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
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