From d644faa1623071765931c44b944b806757896635 Mon Sep 17 00:00:00 2001 From: "Dario G. Mori" Date: Fri, 19 Apr 2024 11:32:25 +0200 Subject: [PATCH] fix: dockerfiles --- api/monitoring/grafana/Dockerfile | 5 +---- api/monitoring/prometheus/Dockerfile | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/api/monitoring/grafana/Dockerfile b/api/monitoring/grafana/Dockerfile index 624fc546..ffd438d4 100644 --- a/api/monitoring/grafana/Dockerfile +++ b/api/monitoring/grafana/Dockerfile @@ -1,11 +1,8 @@ FROM grafana/grafana LABEL authors="dario" -# Define the source and destination directories -COPY_SOURCE = ./provisioning -COPY_DESTINATION = /etc/grafana/provisioning # Copy the configuration files -COPY ${COPY_SOURCE}/* ${COPY_DESTINATION} +COPY ./provisioning /etc/grafana/provisioning # Expose the default Grafana port EXPOSE 9091 diff --git a/api/monitoring/prometheus/Dockerfile b/api/monitoring/prometheus/Dockerfile index 13f90329..0e465edc 100644 --- a/api/monitoring/prometheus/Dockerfile +++ b/api/monitoring/prometheus/Dockerfile @@ -1,11 +1,7 @@ FROM prom/prometheus LABEL authors="dario" -# Define the source and destination directories -COPY_SOURCE = ./configuration -COPY_DESTINATION = /etc/prometheus -# Copy the configuration files -COPY ${COPY_SOURCE}/* ${COPY_DESTINATION} +COPY ./configuration /etc/prometheus # Expose the default Prometheus port EXPOSE 9090