chore: removed healthcheck & unused cron stuff from Dockerfile

This commit is contained in:
Jef Roosens 2022-05-16 17:17:42 +02:00
parent 73d2d4b08f
commit 67c4d19921
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
2 changed files with 6 additions and 8 deletions

View file

@ -36,15 +36,8 @@ ENV PATH=/bin \
COPY --from=builder /app/dumb-init /app/vieter /bin/
HEALTHCHECK --interval=30s \
--timeout=3s \
--start-period=5s \
CMD /bin/wget --spider http://localhost:8000/health || exit 1
RUN mkdir /data && \
chown -R www-data:www-data /data && \
mkdir -p '/var/spool/cron/crontabs' && \
echo '0 3 * * * /bin/vieter build' | crontab -
chown -R www-data:www-data /data
WORKDIR /data