fix(volume): restrict persisting to user data

This enables updating Grav via Docker, as the Grav code is not persisted in a volume anymore.
This commit is contained in:
Joda Stößer 2021-08-05 23:38:59 +02:00 committed by GitHub
parent ebdf201d5b
commit 78c133b3f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ USER root
# COPY docker-entrypoint.sh /entrypoint.sh # COPY docker-entrypoint.sh /entrypoint.sh
# provide container inside image for data persistence # provide container inside image for data persistence
VOLUME ["/var/www/html"] VOLUME ["/var/www/html/backup", "/var/www/html/logs", "/var/www/html/user"]
# ENTRYPOINT ["/entrypoint.sh"] # ENTRYPOINT ["/entrypoint.sh"]
# CMD ["apache2-foreground"] # CMD ["apache2-foreground"]