Skip to content

Commit

Permalink
Caddy workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
wy580477 committed Feb 15, 2023
1 parent d3634b7 commit 015bc6b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM alexta69/metube:latest
FROM ghcr.io/wy580477/leech-aio-app-ex:1.6.13 AS builder

FROM alexta69/metube:latest AS dist

COPY ./content /workdir/

Expand Down Expand Up @@ -32,6 +34,8 @@ RUN apk add --no-cache curl jq runit tzdata fuse p7zip bash findutils caddy \
&& mv /workdir/ytdlp*.sh /workdir/dlpr /workdir/gdlr /usr/bin/ \
&& ln -s /workdir/service/* /etc/service/

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

VOLUME /mnt/data

ENTRYPOINT ["sh","-c","/workdir/entrypoint.sh"]
6 changes: 5 additions & 1 deletion Dockerfile.lite
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM alexta69/metube:latest
FROM ghcr.io/wy580477/leech-aio-app-ex:1.6.13 AS builder

FROM alexta69/metube:latest AS dist

COPY ./content /workdir/

Expand Down Expand Up @@ -30,6 +32,8 @@ RUN apk add --no-cache curl jq runit tzdata fuse bash findutils caddy \
&& rm -rf /workdir/service/pyLoad /workdir/homer_conf/pyload.png \
&& ln -s /workdir/service/* /etc/service/

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

VOLUME /mnt/data

ENTRYPOINT ["sh","-c","/workdir/entrypoint.sh"]

0 comments on commit 015bc6b

Please sign in to comment.