Skip to content

Commit

Permalink
Use environment variables for config within container
Browse files Browse the repository at this point in the history
  • Loading branch information
wioux committed Feb 15, 2017
1 parent 8e2ede0 commit 3d54b6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Expand Up @@ -10,6 +10,7 @@ ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/democ
WORKDIR /opt/democracy.io

COPY . /opt/democracy.io
COPY ./config/custom-environment-variables.json.example /opt/democracy.io/config/custom-environment-variables.json

RUN npm run build:prod

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml.example
Expand Up @@ -5,6 +5,7 @@ services:
restart: always
ports:
- 3000:3000
env_file: .env
# Development: override command and run gulp instead of node so that gulp reloads app on the fly
# command: gulp serve

Expand Down

0 comments on commit 3d54b6d

Please sign in to comment.