mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-23 04:53:07 +00:00
20 lines
630 B
Docker
20 lines
630 B
Docker
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 && \
|
|
apt-get install -y gcc g++ libxml2-dev libxslt-dev libz-dev && \
|
|
echo "**** install python packages ****" && \
|
|
pip3 install --no-cache-dir --upgrade --requirement /requirements.txt && \
|
|
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"]
|