Prettify sed replacement for httpAddress

This commit is contained in:
promasu 2020-10-17 22:26:29 +02:00 committed by Adrian Nöthlich
parent 1338dbee51
commit 9877ab9f29
No known key found for this signature in database
GPG key ID: CBA6B4E35D326EFE

View file

@ -12,7 +12,7 @@ WORKDIR /cryptpad
# Get cryptpad from repository submodule
COPY cryptpad /cryptpad
RUN sed -i "s/\/\/httpAddress: \x27::\x27/httpAddress: \x270.0.0.0\x27/" /cryptpad/config/config.example.js
RUN sed -i "s@//httpAddress: '::'@httpAddress: '0.0.0.0'@" /cryptpad/config/config.example.js
# Install dependencies
RUN npm install --production \