[IMP] use ENTRYPOINT instead of cmd and permit giving command arguments

This commit is contained in:
Samus CTO
2015-02-27 14:41:23 +01:00
committed by Aaron Bohy
parent 79b731f71d
commit f000eeed23
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -42,4 +42,4 @@ COPY ./openerp-server.conf /etc/odoo/
# Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons
VOLUME ["/var/lib/odoo", "/mnt/extra-addons"]
CMD ["/run.sh"]
ENTRYPOINT ["/run.sh"]