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
commit c7a593b102
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 .