Skip to content

Commit

Permalink
create composer folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone Fantini committed Aug 26, 2024
1 parent 7cb20d8 commit 40a6fce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker-images/php82
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ RUN docker-php-ext-enable sodium
# Install Composer latest version
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

# prepare fpm folder with only our custom config
RUN rm -rf /usr/local/etc/php-fpm.d/*
# prepare fpm folder with only our custom config & fix permissions
RUN rm -rf /usr/local/etc/php-fpm.d/* && \
mkdir -p /var/www/.composer && \
chown -R www-data:www-data /var/www/.composer

# PHP
COPY ../conf/php-fpm.conf /usr/local/etc/php-fpm.d/www.conf.default.conf
Expand Down

0 comments on commit 40a6fce

Please sign in to comment.