api-registry/Dockerfile
2023-06-24 15:58:37 +02:00

14 lines
354 B
Docker

FROM hashicorp/consul:1.15
LABEL dev.egommerce.image.author="Piotr Biernat"
LABEL dev.egommerce.image.vendor="Egommerce"
LABEL dev.egommerce.image.service="api-registry"
LABEL dev.egommerce.image.version="1.0"
COPY ./api-registry/etc /consul/config
EXPOSE 8500 8600 8600/udp
# USER consul
ENTRYPOINT ["consul", "agent", "-config-dir=/consul/config"]