From 46cee4e3c63b29b144af5a1fe9a954296c60e98e Mon Sep 17 00:00:00 2001 From: SeongTae Jeong Date: Fri, 8 Nov 2024 10:46:14 +0900 Subject: [PATCH 1/3] Bump Node.js 20 to 22 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ac00ce70e..35eb14ceb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine +FROM node:22-alpine WORKDIR /app COPY . /app From 138fc178ac3c8caba1ffce4e01fe148d89b1b170 Mon Sep 17 00:00:00 2001 From: SeongTae Jeong Date: Fri, 8 Nov 2024 10:53:41 +0900 Subject: [PATCH 2/3] Bump Node.js 20 to 22 --- .node-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.node-version b/.node-version index 87834047a..7af24b7dd 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.12.2 +22.11.0 From a30c41645d479014c4f1cee703abdddc4cf33160 Mon Sep 17 00:00:00 2001 From: SeongTae Jeong Date: Sat, 9 Nov 2024 08:58:24 +0900 Subject: [PATCH 3/3] Add Python-related package installation commands to the Dockerfile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 35eb14ceb..f456d6693 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ FROM node:22-alpine +RUN apk add --no-cache python3 py3-pip make g++ \ + && ln -sf python3 /usr/bin/python \ + && ln -sf pip3 /usr/bin/pip + WORKDIR /app COPY . /app CMD ["SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm_config_arch=x64 npm_config_platform=linux yarn add sharp"]