webui-aria2 seems broken
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon Bruder 2019-05-14 05:19:32 +00:00
parent 081bbed88b
commit e53cb77608
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -1,10 +1,10 @@
FROM node as webui FROM node as webui
RUN git clone --depth=1 https://github.com/ziahamza/webui-aria2 #RUN git clone --depth=1 https://github.com/ziahamza/webui-aria2
WORKDIR /webui-aria2 #WORKDIR /webui-aria2
RUN npm install #RUN npm install
COPY configuration.js /webui-aria2/src/js/services/configuration.js #COPY configuration.js /webui-aria2/src/js/services/configuration.js
RUN npm run-script build #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
@ -22,7 +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 /webui-aria2/docs /srv/www/webui
COPY --from=webui /AriaNg/dist /srv/www/webui/ng 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