Skip to content

Commit

Permalink
fix: enabled ARG COMPOSER_AUTH
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Dec 11, 2024
1 parent 19d2e36 commit cb6411e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion FrankenPHP.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ ARG WWWUSER=1000
ARG WWWGROUP=1000
ARG TZ=UTC
ARG APP_DIR=/var/www/html
ARG COMPOSER_AUTH

ENV COMPOSER_AUTH=$COMPOSER_AUTH

ENV DEBIAN_FRONTEND=noninteractive \
TERM=xterm-color \
Expand Down Expand Up @@ -109,7 +112,7 @@ USER ${USER}
COPY --link --chown=${WWWUSER}:${WWWUSER} --from=vendor /usr/bin/composer /usr/bin/composer
COPY --link --chown=${WWWUSER}:${WWWUSER} composer.json composer.lock ./

RUN composer install \
RUN COMPOSER_AUTH="$COMPOSER_AUTH" composer install \
--no-dev \
--no-interaction \
--no-autoloader \
Expand Down

0 comments on commit cb6411e

Please sign in to comment.