File size: 568 Bytes
95349f6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM alpine

RUN apk update && apk --no-cache add curl bash supervisor unzip

WORKDIR /app

RUN adduser -D -u 1000 user

COPY --chown=user:user . .

RUN curl -s https://i.jpillora.com/caddyserver/caddy | bash \
    && curl -s https://i.jpillora.com/divyam234/teldrive | bash \
    && curl -s https://i.jpillora.com/divyam234/rclone | bash \
    && curl -s https://i.jpillora.com/divyam234/filebrowser | bash
    
RUN chown -R user:user /app

RUN chmod a+x db_backup.sh webdav.sh teldrive.sh filebrowser.sh

USER user

CMD ["supervisord", "-c", "/app/supervisord.conf"]