Even faster cached build
This commit is contained in:
parent
6f13b2532d
commit
1a8137783c
@ -25,6 +25,9 @@ RUN curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyri
|
|||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt install -y redis grafana
|
&& apt install -y redis grafana
|
||||||
|
|
||||||
|
# Configure Grafana
|
||||||
|
RUN grafana-cli plugins install frser-sqlite-datasource
|
||||||
|
|
||||||
COPY requirements.txt /app/requirements.txt
|
COPY requirements.txt /app/requirements.txt
|
||||||
RUN python3 -m pip install -r requirements.txt
|
RUN python3 -m pip install -r requirements.txt
|
||||||
|
|
||||||
|
@ -59,7 +59,6 @@ sqlite3 /app/MsRewards-Reborn/MsRewards.db "CREATE TABLE comptes (id INTEGER PRI
|
|||||||
printf "\nconfigurating grafana\n"
|
printf "\nconfigurating grafana\n"
|
||||||
|
|
||||||
cp /app/MsRewards-Reborn/config/grafana.ini /etc/grafana/
|
cp /app/MsRewards-Reborn/config/grafana.ini /etc/grafana/
|
||||||
grafana-cli plugins install frser-sqlite-datasource
|
|
||||||
|
|
||||||
printf "setting up default dashboard"
|
printf "setting up default dashboard"
|
||||||
cp /app/MsRewards-Reborn/config/Stats-dashbord.json /usr/share/grafana/public/dashboards/home.json
|
cp /app/MsRewards-Reborn/config/Stats-dashbord.json /usr/share/grafana/public/dashboards/home.json
|
||||||
|
1459
config/grafana.ini
1459
config/grafana.ini
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user