seedbox/Dockerfiles/plex/Dockerfile

21 lines
600 B
Docker

FROM buildpack-deps:xenial-scm
MAINTAINER Jean Froment <froment.je@gmail.com>
# Download plexupdate script and install Plex
# This script can be later used to update Plex directly in the container
RUN curl -sL "https://raw.githubusercontent.com/Kelvin-Chen/plexupdate/master/plexupdate.sh" \
> /usr/local/bin/plexupdate \
&& chmod +x /usr/local/bin/plexupdate \
&& plexupdate -pad \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
VOLUME /config
EXPOSE 32400
COPY plexmediaserver /etc/default/plexmediaserver
COPY init Preferences.xml /
CMD ["/init"]