api-gateway/Dockerfile
Piotr Biernat 7fb75167d4
All checks were successful
continuous-integration/drone/push Build is passing
Added wait-for-it.sh script
2022-12-06 06:16:56 +01:00

19 lines
476 B
Docker

FROM traefik:2.9.5
ARG BUILD_TIME
LABEL dev.egommerce.image.author="Piotr Biernat"
LABEL dev.egommerce.image.vendor="Egommerce"
LABEL dev.egommerce.image.service="api-gateway"
LABEL dev.egommerce.image.version="1.0"
LABEL dev.egommerce.image.build_time=${BUILD_TIME}
COPY ./api-gateway/etc /etc/traefik
COPY ./api-gateway/plugins /plugins-local
COPY ./api-gateway/entrypoint.sh ./api-gateway/wait-for-it.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["traefik"]
EXPOSE 443 8080