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:
parent
ebdf201d5b
commit
78c133b3f0
|
|
@ -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"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue