A Democratic Social Network. Currently available at https://democraticnet.de The Test Server is available at https://test.democraticnet.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
DemNet/Dockerfile.clock

15 lines
384 B

FROM python:3.7
RUN git config --global user.email "info@democraticnet.de"
RUN git config --global user.name "The Users of the Democraticnet"
COPY . /app
WORKDIR /app
RUN apt update -y
RUN apt install cron -y
RUN pip3 install -r requirements.txt
COPY cron.clock /etc/cron.d/cron.clock
RUN chmod 0644 /etc/cron.d/cron.clock &&\
crontab /etc/cron.d/cron.clock
CMD ["cron"," -f"]