| updating Docker config for new path location - warvox - VoIP based wardialing t… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 7f7440ad8a998ada326d0b831bb54980e6c22f04 | |
| parent ffe49ffaf1e2b8780c7c6bc5321a9df4c742cf64 | |
| Author: Jay Scott <[email protected]> | |
| Date: Fri, 19 Aug 2016 10:11:41 +0000 | |
| updating Docker config for new path location | |
| Diffstat: | |
| M Dockerfile | 4 ++-- | |
| M setup.sh | 4 ++-- | |
| 2 files changed, 4 insertions(+), 4 deletions(-) | |
| --- | |
| diff --git a/Dockerfile b/Dockerfile | |
| @@ -14,10 +14,10 @@ RUN apt-get update && apt-get -y install \ | |
| sox \ | |
| && rm -rf /var/lib/apt/lists/* | |
| -ADD . /home/warvox | |
| +ADD . /opt/warvox | |
| ADD setup.sh / | |
| -WORKDIR /home/warvox | |
| +WORKDIR /opt/warvox | |
| RUN ln -s /usr/bin/ruby2.1 /usr/bin/ruby \ | |
| && bundle install \ | |
| && make | |
| diff --git a/setup.sh b/setup.sh | |
| @@ -26,9 +26,9 @@ sh -c "echo 'production: | |
| host: $DB_PORT_5432_TCP_ADDR | |
| port: 5432 | |
| pool: 75 | |
| - timeout: 5' > /home/warvox/config/database.yml" | |
| + timeout: 5' > /opt/warvox/config/database.yml" | |
| -cd /home/warvox | |
| +cd /opt/warvox | |
| make database | |
| bin/adduser admin godsexlove | |
| bin/warvox.rb --address 0.0.0.0 |