From cb6751184857d8b0735c6051ae3c476e21f56443 Mon Sep 17 00:00:00 2001 From: Jonathan Lange Date: Mon, 1 Jan 2018 13:06:32 +0000 Subject: [PATCH] Do not refer to transit server in Dockerfile https://github.com/warner/magic-wormhole/pull/263 removed the transit server, breaking the Dockerfile. This fixes the Dockerfile to run just the rendezvous server. --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 867378c..f16b0b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,9 +62,8 @@ ENV WORMHOLE_USER_NAME="wormhole" RUN adduser --uid 1000 --disabled-password --gecos "" "${WORMHOLE_USER_NAME}" # Facilitate network connections to the application. The rendezvous server -# listens on 4000 by default. The transit relay server on 4001. +# listens on 4000 by default. EXPOSE 4000 -EXPOSE 4001 # Put the source somewhere pip will be able to see it. ADD . /magic-wormhole @@ -87,4 +86,4 @@ ENTRYPOINT ["/app/env/bin/wormhole-server", "start", "--no-daemon"] # By default, start up a pretty reasonable server. This can easily be # overridden by another command which will get added to the entrypoint. -CMD ["--rendezvous", "tcp:4000", "--transit", "tcp:4001"] +CMD ["--rendezvous", "tcp:4000"]