Mikael commited on
Commit
a9b3886
·
1 Parent(s): 50b345b

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -34
Dockerfile DELETED
@@ -1,34 +0,0 @@
1
- FROM ubuntu
2
-
3
- RUN apt-get update && apt-get install -y curl bash supervisor unzip wget ffmpeg
4
-
5
- WORKDIR /app
6
-
7
- RUN adduser -u 1000 user
8
-
9
- COPY --chown=user:user . .
10
-
11
- # Install dependencies
12
- RUN curl -s https://i.jpillora.com/divyam234/filebrowser | bash \
13
- && curl -s https://i.jpillora.com/caddyserver/caddy | bash \
14
- && curl -s https://rclone.org/install.sh | bash \
15
- && wget -q https://github.com/ImPeekaboo/ytarchive/releases/latest/download/ytarchive_linux_amd64.zip \
16
- && unzip -q ytarchive_linux_amd64.zip -d /usr/bin && chmod 777 /usr/bin/ytarchive && rm ytarchive_linux_amd64.zip \
17
- && wget -q https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -O /usr/bin/yt-dlp && chmod 777 /usr/bin/yt-dlp
18
-
19
- # Getting rclone config
20
- RUN --mount=type=secret,id=GIST_RCLONE,mode=0444,required=true \
21
- mkdir -p /home/user/.config/rclone \
22
- && wget $(cat /run/secrets/GIST_RCLONE) -O /home/user/.config/rclone/rclone.conf && chmod 777 /home/user/.config/rclone/rclone.conf && chown -R user:user /home \
23
- && mkdir -p /app/yta/ame /app/yta/calli /app/yta/gura /app/yta/ina /app/yta/kiara /app/yta/bae /app/yta/fauna /app/yta/irys /app/yta/kronii \
24
- /app/yta/mumei /app/yta/bijou /app/yta/fuwamoco /app/yta/nerissa /app/yta/shiorin
25
-
26
- # Getting youtube cookies
27
- RUN --mount=type=secret,id=YT_COOKIES,mode=0444,required=true \
28
- wget $(cat /run/secrets/YT_COOKIES)
29
-
30
- RUN chown -R user:user /app && chmod -R 777 /app
31
-
32
- USER user
33
-
34
- CMD ["supervisord", "-c", "/app/supervisord.conf"]