From 2fe6f4125f2cf84a144842fc484cbd1afbcc5c9a Mon Sep 17 00:00:00 2001 From: PhilipWafula Date: Fri, 5 Mar 2021 22:09:22 +0300 Subject: [PATCH] Get that "ussd_menu.json" out there. --- apps/cic-ussd/.config/app.ini | 2 +- apps/cic-ussd/docker/Dockerfile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/cic-ussd/.config/app.ini b/apps/cic-ussd/.config/app.ini index 38bc95c4..3efaaabc 100644 --- a/apps/cic-ussd/.config/app.ini +++ b/apps/cic-ussd/.config/app.ini @@ -7,7 +7,7 @@ PASSWORD_PEPPER=QYbzKff6NhiQzY3ygl2BkiKOpER8RE/Upqs/5aZWW+I= SERVICE_CODE=*483*46# [ussd] -MENU_FILE=/usr/local/lib/python3.8/site-packages/cic_ussd/db/ussd_menu.json +MENU_FILE=/usr/src/data/ussd_menu.json [statemachine] STATES=/usr/src/cic-ussd/states/ diff --git a/apps/cic-ussd/docker/Dockerfile b/apps/cic-ussd/docker/Dockerfile index 9f9e12a8..6dbdd269 100644 --- a/apps/cic-ussd/docker/Dockerfile +++ b/apps/cic-ussd/docker/Dockerfile @@ -16,6 +16,7 @@ RUN mkdir -vp pgp/keys # create application directory RUN mkdir -vp cic-ussd +RUN mkdir -vp data COPY cic-ussd/setup.cfg \ cic-ussd/setup.py \ @@ -31,6 +32,7 @@ RUN cd cic-ussd && \ # copy all necessary files COPY cic-ussd/cic_ussd/ cic-ussd/cic_ussd/ +COPY cic-ussd/cic_ussd/db/ussd_menu.json data/ COPY cic-ussd/scripts/ cic-ussd/scripts/ COPY cic-ussd/states/ cic-ussd/states/ COPY cic-ussd/transitions/ cic-ussd/transitions/