-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hi,
I was building a docker image from this one using :
FROM dolibarr/dolibarr:21
COPY --chown=www-data:www-data merged-custom /var/www/html/custom
I copy merged-custom because It depends on 2 repositories, but this is not the point :).
My issue is that this line in Dockerfile: VOLUME /var/www/html/custom create an anonymous volume at first run, so when I update my container with newer image, the custom folder content is not updated (because it is replaced at run time by the anonymous volume).
Is there any chance that we can remove this line ? If we explicitelly specify de volume it will not be lost anyways.
It let the user decide if a volume is needed or not.
This is not the case of the document volume obviously.
Thanks,
Nicolas
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested