Remove unused USER directive from Dockerfile.prod

Signed-off-by: Nabeel Shahzad <99736+nabeelio@users.noreply.github.com>
This commit is contained in:
Nabeel S. 2026-05-29 15:01:47 -05:00 committed by Nabeel Shahzad
parent 8943889a92
commit 1fda3f7e55
No known key found for this signature in database
GPG Key ID: 08C44114D2BF3047

View File

@ -52,9 +52,6 @@ COPY --from=oven/bun:latest /usr/local/bin/bun /usr/local/bin/bun
RUN usermod -ou $WWWUSER www-data \
&& groupmod -og $WWWGROUP www-data
# Drop back to our unprivileged user
USER www-data
# Copy application files
COPY --chown=www-data:www-data --from=build /build/ /var/www/html/
COPY --chmod=755 ./resources/docker/run-dump-autoload.sh /etc/entrypoint.d/20-run-dump-autoload.sh