Skip to content

Commit

Permalink
fix: Dockerfile launches Phoenix that listens on IPv6 (#3047)
Browse files Browse the repository at this point in the history
* Dockerfile launches server that listens on IPv6

* Don't specify port and host in Dockerfile
  • Loading branch information
anticorrelator committed May 1, 2024
1 parent a9f360f commit 75cc979
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 @@ -64,4 +64,4 @@ EXPOSE 9090
# Run the Phoenix server. Note that the ENTRYPOINT of the base image invokes
# Python, so no explicit invocation of Python is needed here. See
# https://github.com/GoogleContainerTools/distroless/blob/16dc4a6a33838006fe956e4c19f049ece9c18a8d/python3/BUILD#L55
CMD ["-m", "phoenix.server.main", "--host", "0.0.0.0", "--port", "6006", "serve"]
CMD ["-m", "phoenix.server.main", "serve"]

0 comments on commit 75cc979

Please sign in to comment.