api-logger/Dockerfile

23 lines
469 B
Docker
Raw Permalink Normal View History

2022-11-30 02:25:25 +01:00
FROM fluent/fluentd:v1.15.3-1.0
2022-12-02 22:08:38 +01:00
LABEL dev.egommerce.image.author="Piotr Biernat"
LABEL dev.egommerce.image.vendor="Egommerce"
LABEL dev.egommerce.image.service="api-logger"
LABEL dev.egommerce.image.version="1.0"
2022-11-30 02:25:25 +01:00
USER root
RUN ["fluent-gem", "install", "fluent-plugin-rabbitmq"]
USER fluent
2024-12-05 16:43:16 +01:00
COPY ./api-logger/etc /etc/fluent
COPY ./api-logger/entrypoint.sh /
COPY ./.app.config /
2022-11-30 02:25:25 +01:00
EXPOSE 24224
2024-12-05 16:43:16 +01:00
USER root
ENTRYPOINT ["/entrypoint.sh"]
# USER fluent
CMD ["fluentd"]