Klein9 commited on
Commit
1de8723
·
verified ·
1 Parent(s): b247150

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -5
Dockerfile CHANGED
@@ -15,11 +15,13 @@ RUN curl -s https://i.jpillora.com/caddyserver/caddy | bash \
15
 
16
  RUN chown -R user:user /app
17
 
18
- RUN --mount=type=secret,id=GIST_TELDRIVE,mode=0444,required=true \
19
- curl -s $(cat /run/secrets/GIST_TELDRIVE) -o /app/teldrive.env
20
-
21
- RUN --mount=type=secret,id=GIST_RCLONE,mode=0444,required=true \
22
- curl -s $(cat /run/secrets/GIST_RCLONE) -o /app/rclone.conf
 
 
23
 
24
  RUN chmod a+x db_backup.sh webdav.sh teldrive.sh filebrowser.sh
25
 
 
15
 
16
  RUN chown -R user:user /app
17
 
18
+ #RUN --mount=type=secret,id=GIST_TELDRIVE,mode=0444,required=true \
19
+ # curl -s $(cat /run/secrets/GIST_TELDRIVE) -o /app/teldrive.env
20
+ COPY .env /app/.env
21
+
22
+ COPY rclone.conf /app/rclone.conf
23
+ #RUN --mount=type=secret,id=GIST_RCLONE,mode=0444,required=true \
24
+ # curl -s $(cat /run/secrets/GIST_RCLONE) -o /app/rclone.conf
25
 
26
  RUN chmod a+x db_backup.sh webdav.sh teldrive.sh filebrowser.sh
27