Skip to content

Commit e2d4f78

Browse files
Copilotjbtronics
andcommitted
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 <[email protected]>
1 parent b87c405 commit e2d4f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ RUN composer install -a --no-dev && \
177177
composer clear-cache
178178

179179
# Copy pre-built assets from the assets stage
180-
COPY --from=assets --chown=www-data:www-data /build/public/build ./public/build
180+
COPY --from=assets /build/public/build ./public/build
181181

182182
# Use docker env to output logs to stdout
183183
ENV APP_ENV=docker

0 commit comments

Comments
 (0)