Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +0 -3
- 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.
|
| 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=$!
|