Skip to content

Commit 3aba155

Browse files
committed
Avoid trying to re-install dependencies
We only need to dump the autoloader at this stage, so it's unnecessary to do anything beyond that. Signed-off-by: Luís Cobucci <[email protected]>
1 parent cb3306c commit 3aba155

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
@@ -30,6 +30,6 @@ RUN COMPOSER_CACHE_DIR=/dev/null composer install --no-dev --no-autoloader
3030
COPY bin /app/bin/
3131
COPY src /app/src/
3232

33-
RUN composer install -a --no-dev
33+
RUN composer dumpautoload -a --no-dev
3434

3535
ENTRYPOINT ["/app/bin/console.php"]

0 commit comments

Comments
 (0)