add dockerfile
This commit is contained in:
commit
adecb84b18
1 changed files with 19 additions and 0 deletions
19
Dockerfile
Normal file
19
Dockerfile
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
FROM alpine:3
|
||||||
|
|
||||||
|
# hadolint ignore=DL3018
|
||||||
|
RUN apk add --no-cache docker-cli bash tini
|
||||||
|
|
||||||
|
ENV NEXTCLOUD_EXEC_USER=www-data
|
||||||
|
ENV NEXTCLOUD_CONTAINER_NAME=
|
||||||
|
ENV NEXTCLOUD_PROJECT_NAME=
|
||||||
|
ENV NEXTCLOUD_CRON_MINUTE_INTERVAL=15
|
||||||
|
ENV NEXTCLOUD_EXEC_SHELL=bash
|
||||||
|
ENV NEXTCLOUD_EXEC_SHELL_ARGS=-c
|
||||||
|
|
||||||
|
COPY scripts/*.sh /
|
||||||
|
COPY scripts/cron-scripts-builtin /cron-scripts-builtin
|
||||||
|
|
||||||
|
ENTRYPOINT ["tini", "--", "/entrypoint.sh"]
|
||||||
|
|
||||||
|
HEALTHCHECK --timeout=5s \
|
||||||
|
CMD ["/healthcheck.sh"]
|
Loading…
Reference in a new issue