Skip to content
Snippets Groups Projects
Verified Commit a3b938f8 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[MetricsBot] Update to last version and overwrite old entrypoint

parent 35a4f491
No related branches found
No related tags found
No related merge requests found
Pipeline #62108 failed
......@@ -6,12 +6,12 @@ LABEL maintainer quentinduchemin@tuta.io
COPY picasoft-metrics-bot /code
# Custom Picasoft entrypoint
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
COPY entrypoint.sh /code/entrypoint.sh
RUN chmod +x /code/entrypoint
WORKDIR /code
# Install dependencies
RUN pip3 install -r requirements.txt
ENTRYPOINT [ "/entrypoint.sh" ]
ENTRYPOINT [ "/code/entrypoint.sh" ]
......@@ -32,7 +32,7 @@ INTERVAL_SECONDS=${INTERVAL_SECONDS:-60}
while :
do
echo "$(date) : Gathering stats..."
python3 main.py
echo "$(date) : Gathering stats..."
sleep $INTERVAL_SECONDS
done
Subproject commit 508a84c7332bd95927615b41d067dd78e77d2beb
Subproject commit 4ccadd2f25cc747ecd27acc74839d5ab51589940
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment