Merge pull request #366 from aboutsource/fix-rails-server-binding

Fixed binding of rails server in Dockerfile and compose config.
This commit is contained in:
wvengen 2015-05-18 10:39:26 +02:00
commit b26a0cad12
2 changed files with 1 additions and 2 deletions

View File

@ -37,4 +37,4 @@ COPY . $WORKDIR
EXPOSE 3000
CMD ["rails", "server"]
CMD ["rails", "server", "--binding", "0.0.0.0"]

View File

@ -1,6 +1,5 @@
app: &app
build: .
command: bundle exec rails s
volumes:
- .:/usr/src/app
ports: