Update docker base images (#24966)

pull/24978/head
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
1 changed files with 2 additions and 2 deletions

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