From e6437b5e3b95abb35c481320f39045a25d33c225 Mon Sep 17 00:00:00 2001 From: Nick Tampakas Date: Sat, 20 Jan 2024 18:05:04 +0200 Subject: [PATCH] Change alpine version (fix sharp installation error) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c3f81d6..3494970 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as builder +FROM node:18-alpine3.18 as builder RUN apk add --no-cache git curl WORKDIR /builder @@ -8,7 +8,7 @@ RUN pnpm install RUN pnpm build # Create image by copying build artifacts -FROM node:18-alpine as runner +FROM node:18-alpine3.18 as runner RUN npm i -g pnpm USER node