File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ RUN install-php-extensions bcmath gd pgsql
9
9
# Node Image
10
10
FROM node:${NODE_VERSION}-alpine AS node
11
11
12
- # Composer Stage
12
+ # Install Composer packages
13
13
FROM base AS composer
14
14
WORKDIR /var/www/html
15
15
COPY composer.json composer.lock ./
16
16
RUN composer install --no-dev --optimize-autoloader --no-scripts --no-interaction
17
17
18
- # Assets Stage
18
+ # Install and bundle NPM packages
19
19
FROM node:${NODE_VERSION}-alpine AS build-assets
20
20
WORKDIR /var/www/html
21
21
COPY package*.json ./
@@ -59,7 +59,7 @@ COPY --chown=www-data:www-data --from=build-assets /var/www/html/public/build ./
59
59
COPY --chown=www-data:www-data . .
60
60
USER www-data
61
61
62
- # SSR Node Production Image
62
+ # SSR Production Image
63
63
FROM base AS ssr-release
64
64
COPY --from=node /usr/lib /usr/lib
65
65
COPY --from=node /usr/local/lib /usr/local/lib
You can’t perform that action at this time.
0 commit comments