Expose Gopher/SSH in dockerfile

This commit is contained in:
sn0w 2019-08-25 23:32:13 +02:00
parent b768471a7d
commit 140b52353b

View File

@ -16,8 +16,8 @@ ENV MIX_ENV=$MIX_ENV
# Prepare mounts # Prepare mounts
VOLUME /custom.d VOLUME /custom.d
# Expose default pleroma port to host # Expose HTTP, Gopher, and SSH ports, respectively
EXPOSE 4000 EXPOSE 4000 9999 2222
# Get dependencies # Get dependencies
RUN \ RUN \
@ -40,7 +40,6 @@ ENTRYPOINT ["/entrypoint.sh"]
# Limit permissions # Limit permissions
ARG DOCKER_UID ARG DOCKER_UID
ARG DOCKER_GID ARG DOCKER_GID
RUN \ RUN \
echo "#> Pleroma user will be ${DOCKER_UID}:${DOCKER_GID}" 1>&2 && \ echo "#> Pleroma user will be ${DOCKER_UID}:${DOCKER_GID}" 1>&2 && \
addgroup -g ${DOCKER_GID} pleroma && \ addgroup -g ${DOCKER_GID} pleroma && \