From 39061f9b8c73712d28da5c3ee63ee66560696f3b Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 29 Mar 2023 08:30:16 +0100 Subject: [PATCH] Update docker base images (#24966) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 617618e915..492142a555 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Builder -FROM --platform=$BUILDPLATFORM node:16-buster as builder +FROM --platform=$BUILDPLATFORM node:16-bullseye as builder # Support custom branches of the react-sdk and js-sdk. This also helps us build # images of element-web develop. @@ -23,7 +23,7 @@ RUN dos2unix /src/scripts/docker-package.sh && bash /src/scripts/docker-package. RUN cp /src/config.sample.json /src/webapp/config.json # App -FROM nginx:alpine +FROM nginx:alpine-slim COPY --from=builder /src/webapp /app