Skip to content

Commit addd5e8

Browse files
committed
fix(docker): use alpine 3.20 instead of 3.21 so prisma can find openssl
context: nodejs/docker-node#2175 (comment)
1 parent 270fb21 commit addd5e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM node:18-alpine AS builder
3+
FROM node:22-alpine3.20 AS builder
44
WORKDIR /build
55
# install python etc so node-gyp works for the optional dependencies
66
RUN apk add --no-cache make gcc g++ python3
@@ -13,7 +13,7 @@ RUN chmod +x ./scripts/start.sh
1313
RUN CI=true pnpm install --prod --frozen-lockfile
1414
COPY --link . .
1515

16-
FROM node:18-alpine AS runner
16+
FROM node:22-alpine3.20 AS runner
1717
RUN apk --no-cache add curl \
1818
&& adduser --disabled-password --home /home/container container \
1919
&& mkdir /app \

0 commit comments

Comments
 (0)