mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2025-12-13 22:11:12 +00:00
Added Dockerfile
Dockerfile added. Working on getting this up on docker hub aswell.
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal 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" ]
|
||||
Reference in New Issue
Block a user