v1.
This commit is contained in:
23
Dockerfile
Normal file
23
Dockerfile
Normal file
@@ -0,0 +1,23 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user