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:
parent
461c1ddf3d
commit
33ac7916d3
@ -43,4 +43,4 @@ Mnesia.nonode@nohost/
|
||||
/ejabberd-*.rpm
|
||||
/ejabberd-*.run
|
||||
/ejabberd-*.tar.gz
|
||||
|
||||
/.github/container/Dockerfile
|
||||
|
4
.github/container/Dockerfile
vendored
4
.github/container/Dockerfile
vendored
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user