diff options
Diffstat (limited to 'switch-snmp/Dockerfile')
-rw-r--r-- | switch-snmp/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/switch-snmp/Dockerfile b/switch-snmp/Dockerfile index d09e341..9e12d5e 100644 --- a/switch-snmp/Dockerfile +++ b/switch-snmp/Dockerfile @@ -12,6 +12,6 @@ RUN pip3 install -r requirements.txt RUN rm "privateMibs(20220831).zip" RUN echo "*/1 * * * * root python3 /app/switches.py > /proc/1/fd/1 2>/proc/1/fd/2" > /etc/crontab -RUN echo "*/1 * * * * root sh -c 'sleep 30 && python3 /app/switches.py' > /proc/1/fd/1 2>/proc/1/fd/2" >> /etc/crontab +# RUN echo "*/1 * * * * root sh -c 'sleep 30 && python3 /app/switches.py' > /proc/1/fd/1 2>/proc/1/fd/2" >> /etc/crontab ENTRYPOINT ["bash"] CMD ["entrypoint.sh"] |