aboutsummaryrefslogtreecommitdiff
path: root/ansible/odoo/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/odoo/docker/Dockerfile')
-rw-r--r--ansible/odoo/docker/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/odoo/docker/Dockerfile b/ansible/odoo/docker/Dockerfile
new file mode 100644
index 0000000..130adea
--- /dev/null
+++ b/ansible/odoo/docker/Dockerfile
@@ -0,0 +1,10 @@
+FROM odoo:12
+
+RUN pip3 install phonenumbers
+COPY ./set-admin-passwd.sh /
+VOLUME ["/var/lib/odoo", "/mnt/extra-addons"]
+
+EXPOSE 8069 8072
+USER odoo
+ENTRYPOINT ["/set-admin-passwd.sh"]
+CMD ["odoo"]