Skip to content

Commit

Permalink
added classmap for autoload dump
Browse files Browse the repository at this point in the history
  • Loading branch information
mdprotacio committed Dec 3, 2023
1 parent d48e12b commit cc1ab9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-apache
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ONBUILD COPY app /var/www/html
#Install composer packages
ONBUILD RUN rm -rf vendor && mkdir -p vendor \
; php -d memory_limit=-1 `which composer` install --no-scripts --no-autoloader || exit 1 \
; composer dumpautoload -no --apcu --no-scripts \
; composer dumpautoload -no --apcu --no-scripts --classmap-authoritative \
; symfony check:requirements || exit 1 \
; symfony version || exit 1 \
;
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-fpm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ONBUILD COPY app /var/www/html
#Install composer packages
ONBUILD RUN rm -rf vendor && mkdir -p vendor \
; php -d memory_limit=-1 `which composer` install --no-scripts --no-autoloader || exit 1 \
; composer dumpautoload -no --apcu --no-scripts \
; composer dumpautoload -no --apcu --no-scripts --classmap-authoritative \
; symfony check:requirements || exit 1 \
; symfony version || exit 1 \
;
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-fpm-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ONBUILD COPY app /var/www/html
#Install composer packages
ONBUILD RUN rm -rf vendor && mkdir -p vendor \
; php -d memory_limit=-1 `which composer` install --no-scripts --no-autoloader || exit 1 \
; composer dumpautoload -no --apcu --no-scripts \
; composer dumpautoload -no --apcu --no-scripts --classmap-authoritative \
; symfony check:requirements || exit 1 \
; symfony version || exit 1 \
;
Expand Down

0 comments on commit cc1ab9c

Please sign in to comment.