aboutsummaryrefslogtreecommitdiff
path: root/ansible/odoo/docker/Dockerfile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-08-01 09:17:28 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-08-08 09:03:13 +0200
commitfe4b8b3a499270df23b1ac3f0d8ec17e22f055ae (patch)
treec4289930d02edfbec8e5ce590bf847053e304f41 /ansible/odoo/docker/Dockerfile
parentb013a2d14b99eb3d76877e52f863832e421d3d70 (diff)
downloadinfra-fe4b8b3a499270df23b1ac3f0d8ec17e22f055ae.tar.gz
infra-fe4b8b3a499270df23b1ac3f0d8ec17e22f055ae.tar.bz2
infra-fe4b8b3a499270df23b1ac3f0d8ec17e22f055ae.tar.xz
infra-fe4b8b3a499270df23b1ac3f0d8ec17e22f055ae.zip
o Building my own variant of odoo:12, based on upstream odoo:12 with
support for setting admin_passwd.
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"]