-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (17 loc) · 732 Bytes
/
Dockerfile
File metadata and controls
24 lines (17 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ghcr.io/linuxserver/baseimage-alpine:3.23
ARG ARIANG_VERSION=1.3.13
ENV HOME="/config"
RUN apk add --no-cache aria2 caddy fish
RUN \
wget -O /tmp/ariang.zip "https://github.com/mayswind/AriaNg/releases/download/${ARIANG_VERSION}/AriaNg-${ARIANG_VERSION}.zip" && \
mkdir -p /var/html/www/AriaNg && \
unzip -o /tmp/ariang.zip -d /var/html/www/AriaNg && \
rm -rf /tmp/ariang.zip
RUN \
wget -O /tmp/webui-aria2.zip "https://github.com/ziahamza/webui-aria2/archive/refs/heads/master.zip" && \
unzip -o /tmp/webui-aria2.zip -d /tmp && \
mv /tmp/webui-aria2-master/docs /var/html/www/webui-aria2 && \
rm -rf /tmp/webui-aria2-master /tmp/webui-aria2.zip
COPY root/ /
VOLUME /config
EXPOSE 80 443