Docker initial commit

This commit is contained in:
burkasaurusrex 2020-07-03 20:41:43 -06:00
parent 12a61627e8
commit e4e353c480
3 changed files with 11 additions and 9 deletions

7
.dockerignore Normal file
View file

@ -0,0 +1,7 @@
**/dist
**/build
*.spec
**/__pycache__
/.vscode
README.md
.gitignore

View file

@ -1,23 +1,18 @@
FROM python:3.7-slim
MAINTAINER burkasaurusrex
VOLUME /config
COPY *.py /app/
COPY requirements.txt /app/
COPY config.yml.template /config/config.yml.template
COPY /app/. /app
COPY /config/. /config
RUN \
echo "**** install system packages ****" && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y tzdata git && \
apt-get install -y tzdata && \
echo "**** install python packages ****" && \
pip3 install --upgrade --requirement /app/requirements.txt && \
echo "**** install Plex-Auto-Collections ****" && \
chmod +x /app/plex_auto_collections.py && \
mkdir /config/images && \
# Symbolic link '/app/images/ to '/config/images' until supported in config
ln -s /config/images /app/images && \
echo "**** cleanup ****" && \
apt-get remove --purge -y git && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf \

View file

@ -3,6 +3,6 @@ tmdbv3api
lxml
requests>=2.4.2
flask
git+git://github.com/pkkid/python-plexapi.git#egg=plexapi
PlexAPI
trakt.py
ruamel.yaml