[FIX]Odoo backups : need root
This commit is contained in:
parent
8f5ec97146
commit
1f21eb3002
@ -21,4 +21,5 @@ RUN mkdir -p backups
|
||||
VOLUME /var/log
|
||||
VOLUME /home/odoo/backups
|
||||
|
||||
USER root
|
||||
CMD ["bash", "launch.sh"]
|
||||
|
@ -12,11 +12,12 @@ COPY crontab /home/odoo/
|
||||
COPY backup.template /home/odoo/
|
||||
COPY hc.template /home/odoo/
|
||||
COPY plan.py /home/odoo/
|
||||
COPY launch.c7.sh /home/odoo/
|
||||
COPY launch.c7.sh /home/odoo/launch.sh
|
||||
|
||||
RUN mkdir -p backups
|
||||
# Avoid overlayfs bug with tail
|
||||
VOLUME /var/log
|
||||
VOLUME /home/odoo/backups
|
||||
|
||||
USER root
|
||||
CMD ["bash", "launch.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user