Fixed binding of rails server in Dockerfile and compose config.
This commit is contained in:
parent
71c2b1717a
commit
cda30a2353
2 changed files with 1 additions and 2 deletions
|
@ -37,4 +37,4 @@ COPY . $WORKDIR
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["rails", "server"]
|
CMD ["rails", "server", "--binding", "0.0.0.0"]
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
app: &app
|
app: &app
|
||||||
build: .
|
build: .
|
||||||
command: bundle exec rails s
|
|
||||||
volumes:
|
volumes:
|
||||||
- .:/usr/src/app
|
- .:/usr/src/app
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue