From e8855ead76efbe7ba3c66efb2cc46b34f0d3b239 Mon Sep 17 00:00:00 2001 From: sn0w Date: Sun, 30 Dec 2018 14:29:51 +0100 Subject: [PATCH] Move entrypoint addition I have slow internet ok --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 300e083..37c78a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,14 +5,10 @@ ENV DEBIAN_FRONTEND=noninteractive ENV LC_ALL=C.UTF-8 ENV LANG=C.UTF-8 -# Prepare mounts and entrypoint +# Prepare mounts VOLUME /custom.d VOLUME /conf -COPY ./entrypoint.sh / -RUN chmod a+x /entrypoint.sh -ENTRYPOINT ["/entrypoint.sh"] - # Expose default pleroma port to host EXPOSE 4000 @@ -29,6 +25,11 @@ RUN \ \ && rm -rf /var/lib/apt/lists/* +# Add entrypoint +COPY ./entrypoint.sh / +RUN chmod a+x /entrypoint.sh +ENTRYPOINT ["/entrypoint.sh"] + # Limit permissions ARG DOCKER_UID=1000 ARG DOCKER_GID=1000