diff --git a/Dockerfile b/Dockerfile index 61f3b3f..aaabb77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ 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 + # Install dependencies RUN npm install --production \ && npm install -g bower \ diff --git a/README.md b/README.md index 36a4c6c..db600ba 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ Please see the [migration guide](MIGRATION.md) for further information on switch * Mounted files and folders have to be owned by userid 4001. It is possible you have to run `sudo chown -R 4001:4001 filename` - ### Dockerfile * Run: `docker run -d -p 3000:3000 -p 3001:3001 promasu/cryptpad` diff --git a/cryptpad b/cryptpad index 9f1f01f..ab7c31c 160000 --- a/cryptpad +++ b/cryptpad @@ -1 +1 @@ -Subproject commit 9f1f01f3b4ce3e576dbf3101e2f57a29b6798ee7 +Subproject commit ab7c31c681518427abf17209fb35d841c0ae2100