backup-to-nextcloud/Dockerfile
Adrian Amaglio f65caf2b6b beta1
2023-02-03 19:31:24 +01:00

17 lines
290 B
Docker

FROM alpine
RUN apk add --no-cache curl sqlite
RUN rm /etc/crontabs/root
RUN mkdir /usr/local/app
RUN adduser -D -h /usr/local/app backup
WORKDIR /usr/local/app
COPY entrypoint.sh backup.sh reload.sh initdb.sql /usr/local/app/
ENV USER=backup
ENTRYPOINT /usr/local/app/entrypoint.sh