Move entrypoint addition

I have slow internet ok
This commit is contained in:
sn0w 2018-12-30 14:29:51 +01:00
parent 6c60894199
commit e8855ead76

View File

@ -5,14 +5,10 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV LC_ALL=C.UTF-8 ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8 ENV LANG=C.UTF-8
# Prepare mounts and entrypoint # Prepare mounts
VOLUME /custom.d VOLUME /custom.d
VOLUME /conf VOLUME /conf
COPY ./entrypoint.sh /
RUN chmod a+x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
# Expose default pleroma port to host # Expose default pleroma port to host
EXPOSE 4000 EXPOSE 4000
@ -29,6 +25,11 @@ RUN \
\ \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Add entrypoint
COPY ./entrypoint.sh /
RUN chmod a+x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
# Limit permissions # Limit permissions
ARG DOCKER_UID=1000 ARG DOCKER_UID=1000
ARG DOCKER_GID=1000 ARG DOCKER_GID=1000