diff --git a/conf/dachs-dockerfile b/conf/dachs-dockerfile index 33e291e..da67550 100644 --- a/conf/dachs-dockerfile +++ b/conf/dachs-dockerfile @@ -86,10 +86,10 @@ RUN sed -i "/serverPort/c\serverPort:${DACHS_PORT}" /etc/gavo.rc RUN sed -i "/corsOriginPat/c\corsOriginPat:${PROTOCOL}.*" /etc/gavo.rc RUN if [ "$SERVERNAME" = "localhost" ]; then \ - sed -i "/serverURL/c\serverURL:" /etc/gavo.rc &&\ + sed -i "/^serverURL/c\serverURL:" /etc/gavo.rc &&\ echo "############################ WARNING gavo.rc overwrite -- use localhost for dev only ###############################"\ ; else \ - sed -i "/serverURL/c\serverURL:${PROTOCOL}://${SERVERNAME}.${DOMAIN}:${DACHS_PORT}" /etc/gavo.rc &&\ + sed -i "/^serverURL/c\serverURL:${PROTOCOL}://${SERVERNAME}.${DOMAIN}:${DACHS_PORT}" /etc/gavo.rc &&\ echo "Warning : gavo.rc overwritten by .env servername, domain, protocol and port values" \ ; fi -- libgit2 0.21.2