Skip to content

Commit

Permalink
Merge pull request #3158 from v1xingyue/docker-pnpm-version
Browse files Browse the repository at this point in the history
fix: Update pnpm version during Docker build
  • Loading branch information
shakkernerd authored Feb 3, 2025
2 parents 1ec365f + 27ac9b7 commit bd44931
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@
FROM node:23.3.0-slim AS builder

# Install pnpm globally and necessary build tools
RUN npm install -g pnpm@9.4.0 && \
RUN npm install -g pnpm@9.15.4 && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
git \
python3 \
python3-pip \
curl \
node-gyp \
ffmpeg \
libtool-bin \
autoconf \
automake \
libopus-dev \
make \
g++ \
build-essential \
libcairo2-dev \
libjpeg-dev \
libpango1.0-dev \
libgif-dev \
openssl \
libssl-dev && \
git \
python3 \
python3-pip \
curl \
node-gyp \
ffmpeg \
libtool-bin \
autoconf \
automake \
libopus-dev \
make \
g++ \
build-essential \
libcairo2-dev \
libjpeg-dev \
libpango1.0-dev \
libgif-dev \
openssl \
libssl-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand All @@ -47,12 +47,12 @@ RUN pnpm run build && pnpm prune --prod
FROM node:23.3.0-slim

# Install runtime dependencies
RUN npm install -g pnpm@9.4.0 && \
RUN npm install -g pnpm@9.15.4 && \
apt-get update && \
apt-get install -y \
git \
python3 \
ffmpeg && \
git \
python3 \
ffmpeg && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit bd44931

Please sign in to comment.