diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-08-01 09:17:28 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-08-08 09:03:13 +0200 |
commit | fe4b8b3a499270df23b1ac3f0d8ec17e22f055ae (patch) | |
tree | c4289930d02edfbec8e5ce590bf847053e304f41 /ansible/odoo/docker/Dockerfile | |
parent | b013a2d14b99eb3d76877e52f863832e421d3d70 (diff) | |
download | infra-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/Dockerfile | 10 |
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"] |