Merge pull request #4162 from peaklabs-dev/fix-dockerfile

Fix: Prod Dockerfile warning
This commit is contained in:
Andras Bacsai
2024-11-07 12:45:47 +01:00
committed by GitHub

View File

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