Skip to content

Commit

Permalink
Fix sample url
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrateau committed Nov 19, 2020
1 parent 5ba17a0 commit 4c89418
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions standalone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,19 @@ RUN apk add --no-cache ca-certificates

COPY ${ODMDOCKERDIR}/decisioncenter/script ${ODMDOCKERDIR}/standalone/script ${ODMDOCKERDIR}/common/script ${ODMDOCKERDIR}/common/features ${SCRIPT}/
COPY ./executionserver/ /executionserver/
# Welcome page
COPY $ODMDOCKERDIR/welcomepage /welcomepage

# Loan Server Sample presence flag
RUN set -ex; \
if [ -d /executionserver/samples/rulesetexecution/loan-server ]; then \
touch /use_loan_server; \
if [ -f /welcomepage/src/main/webapp/index.html ]; then \
sed -i 's/ loan-server-hidden//g' /welcomepage/src/main/webapp/index.html; \
fi; \
if [ -f /welcomepage/src/main/webapp/index.jsp ]; then \
sed -i 's/ loan-server-hidden//g' /welcomepage/src/main/webapp/index.jsp; \
fi; \
fi

# Welcome page
COPY $ODMDOCKERDIR/welcomepage /welcomepage


RUN cd /welcomepage; mvn clean install | grep -v 'Download.*'
RUN mkdir -p /config/dbdata /config/resources && chmod -R 777 /config/dbdata /config/resources
Expand Down

0 comments on commit 4c89418

Please sign in to comment.