mirror of
https://github.com/mza921/Plex-Auto-Collections
synced 2025-02-16 20:18:27 +00:00
Docker initial commit
This commit is contained in:
parent
12a61627e8
commit
e4e353c480
3 changed files with 11 additions and 9 deletions
7
.dockerignore
Normal file
7
.dockerignore
Normal file
|
@ -0,0 +1,7 @@
|
|||
**/dist
|
||||
**/build
|
||||
*.spec
|
||||
**/__pycache__
|
||||
/.vscode
|
||||
README.md
|
||||
.gitignore
|
11
Dockerfile
11
Dockerfile
|
@ -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 \
|
||||
|
|
|
@ -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
|
Loading…
Add table
Reference in a new issue