2023-02-03 18:31:24 +00:00
|
|
|
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
|
|
|
|
|
2023-04-27 12:39:34 +00:00
|
|
|
COPY entrypoint.sh backup.sh reload.sh insert.sh initdb.sql /usr/local/app/
|
2023-02-03 18:31:24 +00:00
|
|
|
|
|
|
|
ENV USER=backup
|
|
|
|
|
|
|
|
ENTRYPOINT /usr/local/app/entrypoint.sh
|