File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,15 @@ RUN install-php-extensions xdebug sockets
7878# ---------------------------------
7979FROM base AS composer
8080
81+ ARG FLUX_USERNAME
82+ ARG FLUX_LICENSE_KEY
83+
8184COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
8285COPY --chown=www-data:www-data composer.* ./
8386COPY --chown=www-data:www-data . .
8487
85- RUN composer install --no-dev --no-interaction --no-scripts --prefer-dist \
88+ RUN composer config http-basic.composer.fluxui.dev "${FLUX_USERNAME}" "${FLUX_LICENSE_KEY}" \
89+ && composer install --no-dev --no-interaction --no-scripts --prefer-dist \
8690 && composer dump-autoload --classmap-authoritative --no-dev --optimize
8791
8892# ---------------------------------
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ services:
66 args :
77 NODE_VERSION : 22
88 PHP_VERSION : 8.4
9+ FLUX_USERNAME : ${FLUX_USERNAME}
10+ FLUX_LICENSE_KEY : ${FLUX_LICENSE_KEY}
911 image : laravelcm/php
1012 restart : always
1113 extra_hosts :
You can’t perform that action at this time.
0 commit comments