mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-22 03:15:04 +00:00
Prettify sed replacement for httpAddress
This commit is contained in:
parent
1338dbee51
commit
9877ab9f29
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ WORKDIR /cryptpad
|
||||||
# Get cryptpad from repository submodule
|
# Get cryptpad from repository submodule
|
||||||
COPY cryptpad /cryptpad
|
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
|
# Install dependencies
|
||||||
RUN npm install --production \
|
RUN npm install --production \
|
||||||
|
|
Loading…
Reference in a new issue