18 lines
491 B
Docker
18 lines
491 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
|
|
RUN chmod 755 /entrypoint.sh
|
|
|
|
EXPOSE 5672
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
CMD ["rabbitmq-server"]
|