25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Dockerfile: Cosmetic changes

Ommit the path to ejabberdctl as it is already located at the $PATH

Also, do not copy Dockerfile into the container as this may unnecessarily trigger re-compiling of ejabberd.
This commit is contained in:
sando38 2023-04-23 11:02:54 +02:00 committed by Badlop
parent 461c1ddf3d
commit 33ac7916d3
2 changed files with 3 additions and 3 deletions

View File

@ -43,4 +43,4 @@ Mnesia.nonode@nohost/
/ejabberd-*.rpm
/ejabberd-*.run
/ejabberd-*.tar.gz
/.github/container/Dockerfile

View File

@ -146,7 +146,7 @@ RUN apk add --no-cache \
$(cat /tmp/runDeps)
################################################################################
#' Finalize runtime environment
#' Remove erlang/OTP & rebar3 from base image, finalize runtime environment
FROM runtime-${METHOD} AS runtime
ARG USER
ARG UID
@ -180,5 +180,5 @@ USER $USER
VOLUME ["/$HOME"]
EXPOSE 1883 4369-4399 5210 5222 5269 5280 5443
ENTRYPOINT ["/sbin/tini","--","/usr/local/bin/ejabberdctl"]
ENTRYPOINT ["/sbin/tini","--","ejabberdctl"]
CMD ["foreground"]