JakgritB commited on
Commit
74bc656
·
1 Parent(s): e72b932

Fix Space build Node version

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -9,8 +9,12 @@ RUN apt-get update && apt-get install -y \
9
  nginx \
10
  curl \
11
  git \
12
- nodejs \
13
- npm \
 
 
 
 
14
  && rm -rf /var/lib/apt/lists/*
15
 
16
  # ─── Backend Python dependencies ───────────────────────────────────────────
 
9
  nginx \
10
  curl \
11
  git \
12
+ ca-certificates \
13
+ gnupg \
14
+ && rm -rf /var/lib/apt/lists/*
15
+
16
+ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
17
+ && apt-get install -y nodejs \
18
  && rm -rf /var/lib/apt/lists/*
19
 
20
  # ─── Backend Python dependencies ───────────────────────────────────────────