Subi003 commited on
Commit
f544495
·
verified ·
1 Parent(s): 65303e1

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -3
  2. start.sh +1 -1
Dockerfile CHANGED
@@ -22,9 +22,6 @@ RUN wget https://github.com/prometheus/prometheus/releases/download/v2.51.0/prom
22
  mv prometheus-2.51.0.linux-amd64/prometheus /usr/local/bin/ && \
23
  rm -rf prometheus-2.51.0.linux-amd64*
24
 
25
- # Copy prometheus config (accessible to appuser)
26
- COPY prometheus.yaml /app/src/prometheus.yaml
27
-
28
  # Copy startup script
29
  COPY start.sh /start.sh
30
  RUN chmod +x /start.sh
 
22
  mv prometheus-2.51.0.linux-amd64/prometheus /usr/local/bin/ && \
23
  rm -rf prometheus-2.51.0.linux-amd64*
24
 
 
 
 
25
  # Copy startup script
26
  COPY start.sh /start.sh
27
  RUN chmod +x /start.sh
start.sh CHANGED
@@ -11,7 +11,7 @@ envsubst < /app/src/prometheus.yaml > /tmp/prometheus_resolved.yaml
11
 
12
  # Start Prometheus in background
13
  echo "Starting Prometheus"
14
- prometheus --config.file=/tmp/prometheus_resolved.yml \
15
  --storage.tsdb.path=/tmp/prometheus_data &
16
 
17
  PROMETHEUS_PID=$!
 
11
 
12
  # Start Prometheus in background
13
  echo "Starting Prometheus"
14
+ prometheus --config.file=/tmp/prometheus_resolved.yaml \
15
  --storage.tsdb.path=/tmp/prometheus_data &
16
 
17
  PROMETHEUS_PID=$!