Skip to content

Commit dbb0618

Browse files
authored
Adds laravel user line for potential permissions fixes
1 parent 7e08cfb commit dbb0618

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dockerfiles/php.dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@ RUN mkdir -p /usr/src/php/ext/redis \
2828
&& curl -L https://github.com/phpredis/phpredis/archive/5.3.4.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
2929
&& echo 'redis' >> /usr/src/php-available-exts \
3030
&& docker-php-ext-install redis
31+
32+
USER laravel
3133

3234
CMD ["php-fpm", "-y", "/usr/local/etc/php-fpm.conf", "-R"]

0 commit comments

Comments
 (0)