Skip to content

Commit

Permalink
Update Dockerfile CMD to bind to all network interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
natthaphong1939 committed Sep 5, 2024
1 parent 08d79bd commit 14e2f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ ENTRYPOINT ["/rails/bin/docker-entrypoint"]

# Start the server by default, this can be overwritten at runtime
EXPOSE 3000
CMD ["./bin/rails", "server"]
CMD ["./bin/rails", "server", "-p", "3000", "-b", "0.0.0.0"]

0 comments on commit 14e2f37

Please sign in to comment.