From 79519aaa0764bcc83937e0caf66308b0d34e5f30 Mon Sep 17 00:00:00 2001 From: Thomas Rupprecht Date: Fri, 21 Apr 2023 15:10:26 +0200 Subject: [PATCH] Update node to v20 (#1075) * uppercase keywords * update node to v20 --- docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index d8baa77d..097fa96e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -5,13 +5,13 @@ RUN composer --no-ansi install --no-dev --ignore-platform-reqs RUN composer --no-ansi dump-autoload --optimize # Generate .mo files -FROM alpine as translation +FROM alpine AS translation RUN apk add gettext COPY resources/lang/ /data RUN find /data -type f -name '*.po' -exec sh -c 'file="{}"; msgfmt "${file%.*}.po" -o "${file%.*}.mo"' \; # Build the themes -FROM node:14-alpine as themes +FROM node:20-alpine AS themes WORKDIR /app COPY .babelrc .browserslistrc package.json webpack.config.js yarn.lock /app/ RUN yarn --frozen-lockfile @@ -19,7 +19,7 @@ COPY resources/assets/ /app/resources/assets RUN yarn build # Generate application structure -FROM alpine as data +FROM alpine AS data COPY .babelrc .browserslistrc composer.json LICENSE package.json README.md webpack.config.js yarn.lock /app/ COPY bin/ /app/bin COPY config/ /app/config