Skip to content

Commit b9cd2b4

Browse files
committed
switch to node:20-bookworm-slim
1 parent 8052bfb commit b9cd2b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/cli-v3/src/Containerfile.prod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM node:20-alpine@sha256:bf77dc26e48ea95fca9d1aceb5acfa69d2e546b765ec2abfb502975f1a2d4def AS base
1+
FROM node:20-bookworm-slim@sha256:d4cdfc305abe5ea78da7167bf78263c22596dc332f2654b662890777ea166224 AS base
22

3-
RUN apk add --no-cache dumb-init
3+
ENV DEBIAN_FRONTEND=noninteractive
4+
RUN apt-get update && apt-get install -y dumb-init && rm -rf /var/lib/apt/lists/*
45

5-
# Create workdir and set appropriate permissions
6+
# Create and set workdir with appropriate permissions
67
RUN mkdir /app && chown node:node /app
7-
88
WORKDIR /app
99

1010
# copy all the files just in case anything is needed in postinstall

0 commit comments

Comments
 (0)