Remove aria2-webui
This commit is contained in:
parent
ed38197304
commit
82674732f4
10
Dockerfile
10
Dockerfile
|
@ -1,12 +1,5 @@
|
||||||
FROM node:11 as webui
|
FROM node:11 as webui
|
||||||
|
|
||||||
RUN git clone --depth=1 https://github.com/ziahamza/webui-aria2
|
|
||||||
WORKDIR /webui-aria2
|
|
||||||
RUN npm install node-sass \
|
|
||||||
&& npm install
|
|
||||||
COPY configuration.js /webui-aria2/src/js/services/configuration.js
|
|
||||||
RUN npm run-script build
|
|
||||||
|
|
||||||
RUN git clone --depth=1 https://github.com/mayswind/AriaNg /AriaNg
|
RUN git clone --depth=1 https://github.com/mayswind/AriaNg /AriaNg
|
||||||
WORKDIR /AriaNg
|
WORKDIR /AriaNg
|
||||||
COPY ariang-additional-options.js .
|
COPY ariang-additional-options.js .
|
||||||
|
@ -29,8 +22,7 @@ RUN apk add --no-cache \
|
||||||
|
|
||||||
COPY --from=sbruder/aria2_exporter /aria2_exporter /aria2_exporter
|
COPY --from=sbruder/aria2_exporter /aria2_exporter /aria2_exporter
|
||||||
|
|
||||||
COPY --from=webui /webui-aria2/docs /srv/www/webui
|
COPY --from=webui /AriaNg/dist /srv/www/webui
|
||||||
COPY --from=webui /AriaNg/dist /srv/www/webui/ng
|
|
||||||
|
|
||||||
COPY --from=nginx:alpine /etc/nginx/nginx.conf /etc/nginx/nginx.conf
|
COPY --from=nginx:alpine /etc/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
Reference in a new issue