Skip to content

Commit

Permalink
Fixed binding of rails server in Dockerfile and compose config.
Browse files Browse the repository at this point in the history
  • Loading branch information
benni-as committed May 15, 2015
1 parent 71c2b17 commit cda30a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ COPY . $WORKDIR

EXPOSE 3000

CMD ["rails", "server"]
CMD ["rails", "server", "--binding", "0.0.0.0"]
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
app: &app
build: .
command: bundle exec rails s
volumes:
- .:/usr/src/app
ports:
Expand Down

0 comments on commit cda30a2

Please sign in to comment.