-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
I struggled to build an image which would copy custom themes and plugins to /var/www/html/wp-content yet still retain www-data ownership for these files. I think this was due to the VOLUME in your image.
I was successful with the following.
FROM wordpress
COPY ["wordpress","/usr/src/wordpress"]
RUN chown -R www-data:www-data /usr/src/wordpress/*
Is this the best way to complete this or should I be approaching it differently?
bkc
Metadata
Metadata
Assignees
Labels
No labels