Skip to content

Commit

Permalink
Dockerfile > copy docker-entrypoint.sh before hivemq layer
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Jan 29, 2024
1 parent bdf19f4 commit 44e049e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ ENV HIVEMQ_ALLOW_ALL_CLIENTS "true"
ENV LANG=en_US.UTF-8

# HiveMQ setup
COPY --from=unpack /opt/hivemq-ce-${HIVEMQ_VERSION} /opt/hivemq-ce-${HIVEMQ_VERSION}
COPY docker-entrypoint.sh /opt/docker-entrypoint.sh
COPY --from=unpack /opt/hivemq-ce-${HIVEMQ_VERSION} /opt/hivemq-ce-${HIVEMQ_VERSION}
RUN ln -s /opt/hivemq-ce-${HIVEMQ_VERSION} /opt/hivemq \
&& groupadd --gid ${HIVEMQ_GID} hivemq \
&& useradd -g hivemq -d /opt/hivemq -s /bin/bash --uid ${HIVEMQ_UID} hivemq \
Expand Down

0 comments on commit 44e049e

Please sign in to comment.