Expose Gopher/SSH in dockerfile

This commit is contained in:
sn0w 2019-08-25 23:32:13 +02:00
parent b768471a7d
commit 140b52353b
1 changed files with 2 additions and 3 deletions

View File

@ -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 && \