flood-ui: add
continuous-integration/drone/push Build is failing Details

master
eater 5 years ago
parent 1598110dae
commit 8c4f2a4d11
Signed by: eater
GPG Key ID: AD2560A0F84F0759

@ -54,6 +54,7 @@ INFO: Done building!
|img|`docker pull d.xr.to/img`||[img](https://github.com/genuinetools/img): Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.||
|coredns|`docker pull d.xr.to/coredns`||[coredns](https://github.com/coredns/coredns): CoreDNS is a DNS server that chains plugins (pre-configured with unbound, and removed grpc, clouddns, kubernetes, azure and route53 support)||
|rtorrent|`docker pull d.xr.to/rtorrent`||rtorrent||
|flood-ui|`docker pull d.xr.to/flood-ui`||[Flood UI](https://github.com/Flood-UI/flood) is a modern UI for rTorrent||
|xbps-builder|`docker pull d.xr.to/xbps-builder`||A container pre-configured for the `ethereal` build-style (debuted here!)||
# Todo

@ -0,0 +1,40 @@
FROM d.xr.to/base as source
RUN xbps-remote git && mkdir /app
RUN git clone https://github.com/Flood-UI/flood.git /app
FROM d.xr.to/base as nodebuild
WORKDIR /app
COPY --from=source /app/package.json \
/app/package-lock.json \
/app/.babelrc \
/app/.eslintrc.js \
/app/.eslintignore \
/app/.prettierrc \
/app/ABOUT.md \
/app/
# Install mediainfo and move CLI tool because we don't need the gui
RUN xbps-remote base-devel nodejs yarn python mediainfo && \
yarn
COPY --from=source /app/client /app/client
COPY --from=source /app/shared /app/shared
COPY --from=source /app/scripts /app/scripts
COPY --from=source /app/server /app/server
COPY --from=source /app/config.docker.js /app/config.js
RUN yarn build && \
yarn install --prod
FROM d.xr.to/base as flood
WORKDIR /app
RUN xbps-remote libmediainfo nodejs
COPY --from=nodebuild /app /app
COPY --from=nodebuild /bin/mediainfo /bin/mediainfo
EXPOSE 3000
VOLUME ["/data"]
CMD [ "npm", "start" ]
Loading…
Cancel
Save