From 94ef35affee8cc4f1d3c4413580052d4dd42d821 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Mon, 15 Dec 2014 11:50:47 +0100 Subject: [PATCH] [IMP] Volume /var/lib/odoo to restore the filestore --- 8.0/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/8.0/Dockerfile b/8.0/Dockerfile index 30af1c6..036edf8 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -33,4 +33,7 @@ RUN wget -O - https://nightly.odoo.com/odoo.key | apt-key add - \ COPY run.sh /run.sh RUN chmod u+x /run.sh +# Mount /var/lib/odoo to allow restoring filestore +VOLUME ["/var/lib/odoo"] + CMD ["/run.sh"]