chore(docker files): Change node version to 20

This commit is contained in:
shiva raj badu 2025-07-31 01:48:07 +05:45
parent 913c0bf280
commit bcc3fbf099
No known key found for this signature in database
2 changed files with 12 additions and 4 deletions

View file

@ -2,12 +2,16 @@ FROM python:3.11-slim-bookworm
# Install Node.js and npm
RUN apt-get update && apt-get install -y \
nodejs \
npm \
nginx \
curl \
redis-server
# Install Node.js 20 using NodeSource repository
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs
# Create a working directory
WORKDIR /app

View file

@ -2,12 +2,16 @@ FROM python:3.11-slim-bookworm
# Install Node.js and npm
RUN apt-get update && apt-get install -y \
nodejs \
npm \
nginx \
curl \
redis-server
# Install Node.js 20 using NodeSource repository
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs
# Change working directory
WORKDIR /app