Skip to content

Commit 351e8fe

Browse files
committed
improvement: better Dockerfile comments
1 parent 5d3b71b commit 351e8fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ RUN install-php-extensions bcmath gd pgsql
99
# Node Image
1010
FROM node:${NODE_VERSION}-alpine AS node
1111

12-
# Composer Stage
12+
# Install Composer packages
1313
FROM base AS composer
1414
WORKDIR /var/www/html
1515
COPY composer.json composer.lock ./
1616
RUN composer install --no-dev --optimize-autoloader --no-scripts --no-interaction
1717

18-
# Assets Stage
18+
# Install and bundle NPM packages
1919
FROM node:${NODE_VERSION}-alpine AS build-assets
2020
WORKDIR /var/www/html
2121
COPY package*.json ./
@@ -59,7 +59,7 @@ COPY --chown=www-data:www-data --from=build-assets /var/www/html/public/build ./
5959
COPY --chown=www-data:www-data . .
6060
USER www-data
6161

62-
# SSR Node Production Image
62+
# SSR Production Image
6363
FROM base AS ssr-release
6464
COPY --from=node /usr/lib /usr/lib
6565
COPY --from=node /usr/local/lib /usr/local/lib

0 commit comments

Comments
 (0)