mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +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-*.rpm
|
||||||
/ejabberd-*.run
|
/ejabberd-*.run
|
||||||
/ejabberd-*.tar.gz
|
/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)
|
$(cat /tmp/runDeps)
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#' Finalize runtime environment
|
#' Remove erlang/OTP & rebar3 from base image, finalize runtime environment
|
||||||
FROM runtime-${METHOD} AS runtime
|
FROM runtime-${METHOD} AS runtime
|
||||||
ARG USER
|
ARG USER
|
||||||
ARG UID
|
ARG UID
|
||||||
@ -180,5 +180,5 @@ USER $USER
|
|||||||
VOLUME ["/$HOME"]
|
VOLUME ["/$HOME"]
|
||||||
EXPOSE 1883 4369-4399 5210 5222 5269 5280 5443
|
EXPOSE 1883 4369-4399 5210 5222 5269 5280 5443
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini","--","/usr/local/bin/ejabberdctl"]
|
ENTRYPOINT ["/sbin/tini","--","ejabberdctl"]
|
||||||
CMD ["foreground"]
|
CMD ["foreground"]
|
||||||
|
Loading…
Reference in New Issue
Block a user