2023-02-28 01:29:06 +01:00
|
|
|
FROM envoyproxy/envoy:v1.22.8
|
2022-12-06 06:16:56 +01:00
|
|
|
|
|
|
|
ARG BUILD_TIME
|
2022-10-06 17:41:43 +02:00
|
|
|
|
2022-12-02 22:04:41 +01:00
|
|
|
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"
|
2022-12-06 06:16:56 +01:00
|
|
|
LABEL dev.egommerce.image.build_time=${BUILD_TIME}
|
2022-10-06 17:41:43 +02:00
|
|
|
|
2023-02-28 01:29:06 +01:00
|
|
|
COPY ./api-gateway/etc /etc/envoy
|
|
|
|
# COPY ./api-gateway/plugins /plugins-local
|
2022-12-06 06:16:56 +01:00
|
|
|
COPY ./api-gateway/entrypoint.sh ./api-gateway/wait-for-it.sh /
|
2022-11-30 02:22:50 +01:00
|
|
|
|
2022-12-06 06:16:56 +01:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
2023-02-28 01:29:06 +01:00
|
|
|
CMD ["envoy", "-c", "/etc/envoy/envoy.yaml"]
|
2022-11-30 02:22:50 +01:00
|
|
|
|
2022-12-06 06:16:56 +01:00
|
|
|
EXPOSE 443 8080
|