chore(docker): upgrade pnpm version in Dockerfiles for server and webapp
- Updated pnpm from version 8.10.2 to 9.0.5 in both server and webapp Dockerfiles to ensure compatibility with the latest features and improvements.
This commit is contained in:
@@ -4,7 +4,7 @@ FROM node:18.16.0-alpine AS builder
|
||||
WORKDIR /app
|
||||
|
||||
# Install pnpm
|
||||
RUN npm install -g pnpm@8.10.2
|
||||
RUN npm install -g pnpm@9.0.5
|
||||
|
||||
# Install build dependencies
|
||||
RUN apk add --no-cache python3 build-base chromium
|
||||
@@ -32,7 +32,7 @@ FROM node:18.16.0-alpine AS production
|
||||
WORKDIR /app
|
||||
|
||||
# Install pnpm for production
|
||||
RUN npm install -g pnpm@8.10.2
|
||||
RUN npm install -g pnpm@9.0.5
|
||||
|
||||
# Create non-root user
|
||||
RUN addgroup -g 1001 -S nodejs && \
|
||||
|
||||
@@ -4,7 +4,7 @@ FROM node:18.16.0-alpine AS builder
|
||||
WORKDIR /app
|
||||
|
||||
# Install pnpm
|
||||
RUN npm install -g pnpm@8.10.2
|
||||
RUN npm install -g pnpm@9.0.5
|
||||
|
||||
# Install build dependencies
|
||||
RUN apk add --no-cache python3 build-base chromium
|
||||
|
||||
Reference in New Issue
Block a user