mirror of
https://memleak.eu/sn0w/pleroma-docker.git
synced 2024-12-22 08:38:47 -05:00
Expose Gopher/SSH in dockerfile
This commit is contained in:
parent
b768471a7d
commit
140b52353b
@ -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 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user