prefer '-b 0.0.0.0' over '--bind 0.0.0.0' (docker-compose.yml)

The latter yields the following error:

    `handle_argument_error': ERROR: "rails server" was called with
    arguments ["--bind", "0.0.0.0"] (Thor::InvocationError)
This commit is contained in:
JuliusR 2021-12-18 18:29:27 +01:00
parent dc1b336ba4
commit a92d4a1a32
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ services:
build:
context: ./
dockerfile: Dockerfile.development
command: bundle exec rails server --bind 0.0.0.0
command: bundle exec rails server -b 0.0.0.0
volumes:
- ./:/srv/app
ports: