Skip to content

Commit 1844ae4

Browse files
committed
Fix: make composer.lock optional in Dockerfile
1 parent 5a3d333 commit 1844ae4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ RUN install-php-extensions sockets
1414
WORKDIR /app
1515

1616
# Copy composer files first for better layer caching
17-
COPY composer.json composer.lock ./
17+
COPY composer.json ./
18+
COPY composer.lock* ./
1819
RUN composer install --no-dev --optimize-autoloader --no-scripts
1920

2021
# Then copy the rest of the application

0 commit comments

Comments
 (0)