Browse Source

Initial commit

master
dave 6 years ago
commit
b732a400c7
  1. 18
      Dockerfile
  2. 8
      start

18
Dockerfile

@ -0,0 +1,18 @@
FROM ubuntu:trusty
ADD start /start
RUN useradd sick ;\
apt-get update ;\
apt-get install -y git python-setuptools ;\
easy_install pip ;\
cd /opt/ ;\
git clone https://github.com/midgetspy/Sick-Beard.git Sick-Beard ;\
pip install -r Sick-Beard/requirements.txt ;\
mkdir /opt/sick-data ;\
chown sick:sick /opt/sick-data/ ;\
chmod +x /start
VOLUME ["/opt/sick-data/"]
ENTRYPOINT ["/start"]

8
start

@ -0,0 +1,8 @@
#!/bin/bash
# Cleanly kill supervisor when container is stopped
trap 'kill $(jobs -p)' EXIT
cd /opt/Sick-Beard
./SickBeard.py --datadir=/opt/sick-data/
Loading…
Cancel
Save