Update Node.js version in Dockerfile

This commit is contained in:
Andras Bacsai 2024-03-19 10:22:35 +01:00
parent ec16c0f0f4
commit 8d48051a8d

View File

@ -4,7 +4,7 @@ WORKDIR /var/www/html
COPY composer.json composer.lock ./ COPY composer.json composer.lock ./
RUN composer install --no-dev --no-interaction --no-plugins --no-scripts --prefer-dist RUN composer install --no-dev --no-interaction --no-plugins --no-scripts --prefer-dist
FROM node:19 as static-assets FROM node:20 as static-assets
WORKDIR /app WORKDIR /app
COPY . . COPY . .
COPY --from=base --chown=9999:9999 /var/www/html . COPY --from=base --chown=9999:9999 /var/www/html .