From 140b52353bffd56a944b1e46db85006950f8519f Mon Sep 17 00:00:00 2001 From: sn0w Date: Sun, 25 Aug 2019 23:32:13 +0200 Subject: [PATCH] Expose Gopher/SSH in dockerfile --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c1b1eb4..6ea2ebd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,8 @@ ENV MIX_ENV=$MIX_ENV # Prepare mounts VOLUME /custom.d -# Expose default pleroma port to host -EXPOSE 4000 +# Expose HTTP, Gopher, and SSH ports, respectively +EXPOSE 4000 9999 2222 # Get dependencies RUN \ @@ -40,7 +40,6 @@ ENTRYPOINT ["/entrypoint.sh"] # Limit permissions ARG DOCKER_UID ARG DOCKER_GID - RUN \ echo "#> Pleroma user will be ${DOCKER_UID}:${DOCKER_GID}" 1>&2 && \ addgroup -g ${DOCKER_GID} pleroma && \