Piotr Biernat
07a137df8f
All checks were successful
continuous-integration/drone/push Build is passing
19 lines
475 B
Docker
19 lines
475 B
Docker
FROM traefik:v3.0
|
|
|
|
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
|