mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-25 14:00:21 +00:00
build requirements + system packages before copying app code
This commit is contained in:
parent
c3c22bd789
commit
ed7d61b782
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,7 @@ ARG BRANCH_NAME=master
|
|||
ENV BRANCH_NAME ${BRANCH_NAME}
|
||||
ENV TINI_VERSION v0.19.0
|
||||
ENV PMM_DOCKER True
|
||||
COPY . /
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN echo "**** install system packages ****" \
|
||||
&& apt-get update \
|
||||
&& apt-get upgrade -y --no-install-recommends \
|
||||
|
@ -19,5 +19,6 @@ RUN echo "**** install system packages ****" \
|
|||
&& apt-get -f install \
|
||||
&& apt-get autoclean \
|
||||
&& rm -rf /requirements.txt /tmp/* /var/tmp/* /var/lib/apt/lists/*
|
||||
COPY . /
|
||||
VOLUME /config
|
||||
ENTRYPOINT ["/tini", "-s", "python3", "plex_meta_manager.py", "--"]
|
||||
|
|
Loading…
Reference in a new issue