api-eventbus/Dockerfile
2023-03-20 17:24:04 +01:00

19 lines
577 B
Docker

FROM rabbitmq:3-management-alpine
LABEL dev.egommerce.image.author="Piotr Biernat"
LABEL dev.egommerce.image.vendor="Egommerce"
LABEL dev.egommerce.image.service="api-eventubus"
LABEL dev.egommerce.image.version="1.0"
COPY ./api-eventbus/etc /etc/rabbitmq
COPY ./api-eventbus/entrypoint.sh ./api-eventbus/wait-for-it.sh /
RUN rabbitmq-plugins --offline enable rabbitmq_peer_discovery_consul rabbitmq_prometheus && \
chmod 755 /entrypoint.sh
# rabbitmq-plugins --offline enable rabbitmq_prometheus && \
EXPOSE 5672
ENTRYPOINT ["/entrypoint.sh"]
CMD ["rabbitmq-server"]