Skip to content

Commit 7560d11

Browse files
committed
chore(dockerfile): comment composer file copy step
The composer.json and composer.lock copy command has been commented out to avoid unnecessary layer generation when PHP dependencies are not in use.
1 parent b240044 commit 7560d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN a2enmod rewrite
1717
WORKDIR /var/www/html
1818

1919
# Copy composer files first for better layer caching
20-
COPY composer.json composer.lock ./
20+
#COPY composer.json composer.lock ./
2121

2222
# Install PHP dependencies if composer is available
2323
# For now, we'll skip this since there are no dependencies beyond PHP

0 commit comments

Comments
 (0)