Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ COPY conf/dhis.conf /opt/dhis2/config/dhis.conf
COPY releases/dhis2.war /usr/local/tomcat/webapps/ROOT.war

COPY wait-for-it.sh wait-for-it.sh

RUN echo "export JAVA_OPTS=$JAVA_OPTS\nexport DHIS2_HOME='/opt/dhis2/config'" >> /usr/local/tomcat/bin/setenv.sh
RUN sed -e -i "s/port=\"8080\" protocol=\"HTTP\/1.1\"/port=\"8080\" protocol=\"HTTP\/1.1\"\\n relaxedQueryChars=\"\[,\]\"/" //usr/local/tomcat/conf/server.xml
RUN echo "export JAVA_OPTS=$JAVA_OPTS\nexport DHIS2_HOME='/opt/dhis2/config'" >> /usr/local/tomcat/bin/setenv.sh