Added Dockerfile

Dockerfile added. Working on getting this up on docker hub aswell.
This commit is contained in:
Harvey Tindall 2020-04-15 11:16:29 +01:00
parent b43f145ac5
commit 21fd6e452e
3 changed files with 23 additions and 3 deletions

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM python:3.8.2-buster
RUN apt update -y
RUN apt install unzip python3-pip python3-dev libsasl2-dev libldap2-dev libssl-dev -y
RUN cd /opt && wget https://github.com/hrfee/jellyfin-accounts/archive/master.zip
RUN cd /opt && unzip master.zip
RUN pip install pyOpenSSL
RUN pip install -r /opt/jellyfin-accounts-master/requirements.txt
RUN cd /opt/jellyfin-accounts-master && python3 setup.py install
ENTRYPOINT [ "python3", "/usr/local/bin/jf-accounts", "-d", "/data" ]

View File

@ -34,6 +34,7 @@ A basic account management system for [Jellyfin](https://github.com/jellyfin/jel
* watchdog
```
### Install
Usually as simple as:
```
git clone https://github.com/hrfee/jellyfin-accounts.git
@ -41,7 +42,7 @@ cd jellyfin-accounts
pip3 install -r requirements.txt
python3 setup.py install
```
If not, see [install](https://github.com/hrfee/jellyfin-accounts/wiki/Install).
If not, or if you want to use docker, see [install](https://github.com/hrfee/jellyfin-accounts/wiki/Install).
### Usage
* Passing no arguments will run the server
@ -90,7 +91,8 @@ device = jf-accounts
device_id = jf-accounts-0.1
[ui]
host = 127.0.0.1
; Set to 0.0.0.0 to run localhost
host = 0.0.0.0
port = 8056
username = your username
password = your password

View File

@ -10,7 +10,8 @@ device = jf-accounts
device_id = jf-accounts-0.1
[ui]
host = 127.0.0.1
; Set 0.0.0.0 to run localhost
host = 0.0.0.0
port = 8056
username = your username
password = your password