Skip to content

Commit

Permalink
Dockerfile: Cosmetic changes
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sando38 authored and badlop committed Jun 8, 2023
1 parent 461c1dd commit 33ac791
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ Mnesia.nonode@nohost/
/ejabberd-*.rpm
/ejabberd-*.run
/ejabberd-*.tar.gz

/.github/container/Dockerfile
4 changes: 2 additions & 2 deletions .github/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"]

0 comments on commit 33ac791

Please sign in to comment.