Skip to content

Commit bea564a

Browse files
authored
chore: update container Dockerfiles to Node 22 LTS and nginx stable (#14687)
1 parent 13f1a5f commit bea564a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/amplify-container-hosting/resources/express-template/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/bitnami/node:14-prod-debian-10
1+
FROM public.ecr.aws/docker/library/node:22-slim
22

33
WORKDIR /app
44

packages/amplify-container-hosting/resources/simple-template/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Build the App using node
2-
FROM public.ecr.aws/bitnami/node:14-prod-debian-10 AS builder
2+
FROM public.ecr.aws/docker/library/node:22-slim AS builder
33
WORKDIR /app
44
COPY . .
55
RUN yarn install && yarn build
66

77
# Host the App using nginx
88
EXPOSE 80
9-
FROM public.ecr.aws/nginx/nginx:1
9+
FROM public.ecr.aws/nginx/nginx:stable
1010
WORKDIR /usr/share/nginx/html
1111
RUN rm -rf ./*
1212
COPY --from=builder /app/build .

0 commit comments

Comments
 (0)