24 lines
383 B
Docker
24 lines
383 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk add --update \
|
|
curl \
|
|
git \
|
|
openrc \
|
|
bash \
|
|
jq \
|
|
yq
|
|
|
|
RUN mkdir -p /var/www/
|
|
RUN git config --system --add safe.directory '*'
|
|
|
|
COPY ./cronjobs /etc/cron.d/cronjobs
|
|
RUN chmod 0644 /etc/cron.d/cronjobs
|
|
RUN /usr/bin/crontab /etc/cron.d/cronjobs
|
|
|
|
WORKDIR /var/www/
|
|
COPY ./ /var/www/
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["/usr/sbin/crond", "-f", "-l", "8"]
|