Change alpine version (fix sharp installation error)

This commit is contained in:
Nick Tampakas
2024-01-20 18:05:04 +02:00
parent 8ce59d465b
commit e6437b5e3b

View File

@@ -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