From: Vincent Vanwaelscappel Date: Fri, 22 Sep 2023 10:49:47 +0000 (+0200) Subject: wip #6269 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=109a65f5cc30bebb0a5155c3ad5c2b9ede7e723a;p=fluidbook-hosting-loadbalancer.git wip #6269 --- diff --git a/Dockerfile b/Dockerfile index 7084ff1..f9195fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,6 @@ ENV TERM=linux ENV DEBIAN_FRONTEND=noninteractive RUN apt update && apt -y --no-install-recommends install rsync ssh cron -RUN a2enmod headers \ No newline at end of file +RUN a2enmod headers + +CMD exec /usr/local/bin/startup.sh \ No newline at end of file diff --git a/bin/startup b/bin/startup new file mode 100644 index 0000000..d89382b --- /dev/null +++ b/bin/startup @@ -0,0 +1,3 @@ +#/bin/sh +chmod 0644 /etc/crontab && crontab -u root /etc/crontab && /usr/sbin/cron +/usr/bin/apache2-foreground \ No newline at end of file