Update docker base images (#24966)

This commit is contained in:
Michael Telatynski 2023-03-29 08:30:16 +01:00 committed by GitHub
parent 9ec10a274e
commit 39061f9b8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
# Builder # 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 # Support custom branches of the react-sdk and js-sdk. This also helps us build
# images of element-web develop. # 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 RUN cp /src/config.sample.json /src/webapp/config.json
# App # App
FROM nginx:alpine FROM nginx:alpine-slim
COPY --from=builder /src/webapp /app COPY --from=builder /src/webapp /app