FIX: Node 20 required by Next.js (was 18)
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -2,12 +2,12 @@ FROM python:3.11-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
# Install system dependencies + Node.js
|
| 6 |
RUN apt-get update && apt-get install -y \
|
| 7 |
bash \
|
| 8 |
nginx \
|
| 9 |
curl \
|
| 10 |
-
&& curl -fsSL https://deb.nodesource.com/
|
| 11 |
&& apt-get install -y nodejs \
|
| 12 |
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
# Install system dependencies + Node.js 20
|
| 6 |
RUN apt-get update && apt-get install -y \
|
| 7 |
bash \
|
| 8 |
nginx \
|
| 9 |
curl \
|
| 10 |
+
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
| 11 |
&& apt-get install -y nodejs \
|
| 12 |
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
|