Skip to content

Commit

Permalink
Merge branch 'release/2.4.38' into craft-webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welch committed May 23, 2021
2 parents 69f8a7b + 15e1633 commit 03221f3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# nystudio107/craft Change Log

## 2.4.38 - 2021.05.23
### Changed
* Run php container as the `www-data` user to avoid permissions issues

## 2.4.37 - 2021.05.14
### Changed
* Added `logs` and `compiled_templates` dirs back in, so they appear on the client side
Expand Down
3 changes: 3 additions & 0 deletions docker-config/php-dev-craft/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ RUN mkdir -p /var/www/project/cms/web/cpresources && \
chown -R www-data:www-data /var/www/project/cms/web/cpresources

WORKDIR /var/www/project/cms

# run container as the www-data user
USER www-data
3 changes: 3 additions & 0 deletions docker-config/php-prod-craft/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ RUN chown -R www-data:www-data /var/www/project/cms/web

WORKDIR /var/www/project/cms

# run container as the www-data user
USER www-data

# Force permissions, update Craft, and start php-fpm

# Do a `composer install` without running any Composer scripts
Expand Down

0 comments on commit 03221f3

Please sign in to comment.