You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
654 B
22 lines
654 B
4 years ago
|
FROM python:3-slim
|
||
|
VOLUME /config
|
||
|
COPY . /
|
||
|
RUN \
|
||
|
echo "**** install system packages ****" && \
|
||
|
apt-get update && \
|
||
|
apt-get upgrade -y --no-install-recommends && \
|
||
|
apt-get install -y tzdata --no-install-recommends && \
|
||
|
echo "**** install python packages ****" && \
|
||
|
pip3 install --no-cache-dir --upgrade --requirement /requirements.txt && \
|
||
|
echo "**** install Plex-Auto-Collections ****" && \
|
||
|
chmod +x /plex_meta_manager.py && \
|
||
|
echo "**** cleanup ****" && \
|
||
|
apt-get autoremove -y && \
|
||
|
apt-get clean && \
|
||
|
rm -rf \
|
||
|
/requirements.txt \
|
||
|
/tmp/* \
|
||
|
/var/tmp/* \
|
||
|
/var/lib/apt/lists/*
|
||
|
ENTRYPOINT ["python3", "plex_meta_manager.py"]
|