made this ready for publishing
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y cron && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y cron git && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
@@ -11,4 +11,4 @@ COPY crontab /etc/cron.d/speedtest
|
||||
|
||||
RUN chmod 0644 /etc/cron.d/speedtest && crontab /etc/cron.d/speedtest
|
||||
|
||||
CMD ["cron", "-f"]
|
||||
CMD printenv > /etc/environment && cron -f
|
||||
|
||||
Reference in New Issue
Block a user