Skip to content

Commit

Permalink
Fix issue with Docker user access rights to Composer's cache folder
Browse files Browse the repository at this point in the history
  • Loading branch information
rootpd committed Mar 28, 2023
1 parent 6d076dc commit cd7893c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Docker/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ ENV COMPOSER_HOME /composer

ENV PATH /composer/vendor/bin:$PATH

ENV COMPOSER_ALLOW_SUPERUSER 1

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

RUN mkdir -p /composer/cache && chown -R ${UID}:${GID} /composer/cache

# NODEJS + YARN

ENV PATH /root/.yarn/bin:$PATH
Expand Down

0 comments on commit cd7893c

Please sign in to comment.