Public Repository

Last pushed: 2 years ago
Short Description
Node server and subNode
Full Description

subNode to download subtitles for you TV Shows

Sources: https://drive.google.com/file/d/0B7kQatBvjEOzYnlCYVBEY2tWams/view?usp=sharing

Project: http://ocombe.github.io/subNode/

# Dockerfile
FROM ubuntu:14.04.2

MAINTAINER Olivier HUBERT olituks@gmail.com

RUN apt-get update && \
    apt-get install -y nodejs-legacy npm nano wget unzip

# Install subNode
RUN mkdir /home/www-data
RUN cd /home/www-data && \
    pwd && \
    wget https://github.com/ocombe/subNode/archive/master.zip && \
    unzip master.zip && \
    rm master.zip && \
    mv subNode-master subNode && \
    chown -R www-data:www-data subNode
RUN cd /home/www-data/subNode/ && \
    sh scripts/init.sh

EXPOSE 3000

CMD cd /home/www-data/subNode && \
    sh scripts/launch.sh

# End Dockerfile

##build the image:
docker build -t my_node/subnode .

##run the container:
docker run -d -p 9300:3000 -v /volume1/mediatheque:/var/mediatheque --name my_node_subnode my_node/subnode

##connection to the running container:
docker exec -it my_node_subnode bash

##to start nano:
export TERM=xterm

##load the web page:
http://<ip>:9300/

Docker Pull Command
Owner
olituks