Change Node.js version to 22.22.1-alpine

Updated Node.js base image version in Dockerfile.
This commit is contained in:
Mikael Finstad 2026-03-13 22:52:07 +08:00 committed by GitHub
parent b6d8baebc1
commit 635106e0d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
FROM node:22-alpine AS build
FROM node:22.22.1-alpine AS build
# Create link to node on amd64 so that corepack can find it
RUN if [ "$(uname -m)" == "aarch64" ]; then mkdir -p /usr/local/sbin/ && ln -s /usr/local/bin/node /usr/local/sbin/node; fi
@ -19,7 +19,7 @@ RUN cd /app && corepack yarn workspace @uppy/companion build
# Now remove all non-prod dependencies for a leaner image
RUN cd /app && corepack yarn workspaces focus @uppy/companion --production
FROM node:22-alpine
FROM node:22.22.1-alpine
WORKDIR /app