Merge branch 'philip/dry-run-fixes' into 'master'

Get that "ussd_menu.json" out there.

See merge request grassrootseconomics/cic-internal-integration!50
This commit is contained in:
Philip Wafula 2021-03-05 19:22:44 +00:00
commit 9d36a5f92f
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@ PASSWORD_PEPPER=QYbzKff6NhiQzY3ygl2BkiKOpER8RE/Upqs/5aZWW+I=
SERVICE_CODE=*483*46# SERVICE_CODE=*483*46#
[ussd] [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] [statemachine]
STATES=/usr/src/cic-ussd/states/ STATES=/usr/src/cic-ussd/states/

View File

@ -16,6 +16,7 @@ RUN mkdir -vp pgp/keys
# create application directory # create application directory
RUN mkdir -vp cic-ussd RUN mkdir -vp cic-ussd
RUN mkdir -vp data
COPY cic-ussd/setup.cfg \ COPY cic-ussd/setup.cfg \
cic-ussd/setup.py \ cic-ussd/setup.py \
@ -31,6 +32,7 @@ RUN cd cic-ussd && \
# copy all necessary files # copy all necessary files
COPY cic-ussd/cic_ussd/ cic-ussd/cic_ussd/ 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/scripts/ cic-ussd/scripts/
COPY cic-ussd/states/ cic-ussd/states/ COPY cic-ussd/states/ cic-ussd/states/
COPY cic-ussd/transitions/ cic-ussd/transitions/ COPY cic-ussd/transitions/ cic-ussd/transitions/