Skip to content

Commit

Permalink
[Parvathy, Rahul] | Add. Custom Modules to image
Browse files Browse the repository at this point in the history
  • Loading branch information
rahu1ramesh authored Nov 23, 2023
1 parent f7a8d6c commit 7e8ece3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build_publish_odoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- main
- "release-*"
- "odoo-upgrade-test"
tags:
- "[0-9]+.[0-9]+.[0-9]+"
paths-ignore:
Expand Down
7 changes: 6 additions & 1 deletion package/docker/odoo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ FROM odoo:16.0
ENV ADDON_PATH=/opt/bahmni-erp/bahmni-addons

COPY package/docker/odoo/odoo.conf /etc/odoo/odoo.conf
COPY bahmni_account ${ADDON_PATH}/bahmni_account/
COPY bahmni_api_feed ${ADDON_PATH}/bahmni_api_feed/
COPY bahmni_base ${ADDON_PATH}/bahmni_base/
COPY bahmni_product ${ADDON_PATH}/bahmni_product/
COPY bahmni_purchase ${ADDON_PATH}/bahmni_purchase/
COPY bahmni_sale ${ADDON_PATH}/bahmni_sale/
COPY bahmni_stock ${ADDON_PATH}/bahmni_stock/
COPY jss_data_import ${ADDON_PATH}/jss_data_import/
COPY restful_api ${ADDON_PATH}/restful_api/

CMD ["odoo", "-u", "all", "-i", "sale_management,purchase,stock,point_of_sale,l10_generic_coa,restful_api", "--without-demo", "-d odoo"]

0 comments on commit 7e8ece3

Please sign in to comment.