Create a gist now

Instantly share code, notes, and snippets.

WebTorrent Hybrid Container example
FROM node
RUN apt-get update && \
apt-get install -y xvfb libgtk2.0-0 libxtst-dev libxss-dev libgconf2-dev \
libnss3 libasound2-dev && \
apt-get clean
RUN npm install webtorrent-hybrid -g
RUN mkdir work
WORKDIR work
CMD webtorrent-hybrid download \
e14cef00945a8d99dc74d65cf52dcb892cf48ed1 \
b7c88cda2ff91fd38abc98d191ed39c79a0a4003 \
--keep-seeding
@ohac
Owner
ohac commented Oct 8, 2016

docker build -t webtorrent .
docker run -d --net=host webtorrent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment