anchor.diff:  MAINTAINER  Cris G c@cristhekid.com
   
   # Install required packages.
  -RUN \
  -  apk add --update \
  -  git \
  -  python \
  -  && rm -rf /var/cache/apk/*
  +RUN apk add --no-cache \
  +  python
   
  -# Create Plexpy directory
  -RUN mkdir -p /opt/plexpy
  -
  -# Clone the repo.
  -RUN git clone https://github.com/drzoidberg33/plexpy.git /opt/plexpy/
  +# Get the source
  +RUN set -x \
  +	&& apk add --no-cache --virtual .build-deps \
  +		git \
  +	&& mkdir -p /opt/plexpy \
  +	&& git clone https://github.com/drzoidberg33/plexpy.git /opt/plexpy/ \
  +	&& apk del .build-deps
   
   # Volume for Plexpy data.
   VOLUME /data
  
positive.code: # Set the working directory.
  WORKDIR /opt/plexpy
  
  # Define default command.
  CMD ["python", "PlexPy.py", "--nolaunch", "--datadir=/data"]
  
  # Expose ports.
  EXPOSE 8181
  
negative.code: # A Python based monitoring and tracking tool for Plex Media Server.
  #
  # docker run  -d \
  #  --name=PlexPy \
  #  -v <path to plexlogs>:/data/logs \
  #  -p 8181:8181 \
  