Skip to content

Commit 4c89418

Browse files
committed
Fix sample url
1 parent 5ba17a0 commit 4c89418

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

standalone/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,19 @@ RUN apk add --no-cache ca-certificates
1010

1111
COPY ${ODMDOCKERDIR}/decisioncenter/script ${ODMDOCKERDIR}/standalone/script ${ODMDOCKERDIR}/common/script ${ODMDOCKERDIR}/common/features ${SCRIPT}/
1212
COPY ./executionserver/ /executionserver/
13+
# Welcome page
14+
COPY $ODMDOCKERDIR/welcomepage /welcomepage
1315

1416
# Loan Server Sample presence flag
1517
RUN set -ex; \
1618
if [ -d /executionserver/samples/rulesetexecution/loan-server ]; then \
1719
touch /use_loan_server; \
18-
if [ -f /welcomepage/src/main/webapp/index.html ]; then \
19-
sed -i 's/ loan-server-hidden//g' /welcomepage/src/main/webapp/index.html; \
20-
fi; \
2120
if [ -f /welcomepage/src/main/webapp/index.jsp ]; then \
2221
sed -i 's/ loan-server-hidden//g' /welcomepage/src/main/webapp/index.jsp; \
2322
fi; \
2423
fi
2524

26-
# Welcome page
27-
COPY $ODMDOCKERDIR/welcomepage /welcomepage
25+
2826

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

0 commit comments

Comments
 (0)