Remove redundant --chown flag from COPY in Dockerfile

The assets are copied while running as www-data user, so the --chown flag is redundant. This makes it consistent with the frankenphp version.

Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-12-07 18:08:30 +00:00 committed by Jan Böhmer
parent 2e79df3155
commit 84fa326839

View file

@ -177,7 +177,7 @@ RUN composer install -a --no-dev && \
composer clear-cache
# Copy pre-built assets from the assets stage
COPY --from=assets --chown=www-data:www-data /build/public/build ./public/build
COPY --from=assets /build/public/build ./public/build
# Use docker env to output logs to stdout
ENV APP_ENV=docker