mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
Create Dockerfile (#147)
This commit is contained in:
parent
dc070ecae4
commit
fe4fed6131
35
plexpy/Dockerfile
Normal file
35
plexpy/Dockerfile
Normal file
|
@ -0,0 +1,35 @@
|
|||
# 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 \
|
||||
# arukaen/plexpy
|
||||
|
||||
FROM alpine:latest
|
||||
MAINTAINER Cris G c@cristhekid.com
|
||||
|
||||
# Install required packages.
|
||||
RUN \
|
||||
apk add --update \
|
||||
git \
|
||||
python \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
# Create Plexpy directory
|
||||
RUN mkdir -p /opt/plexpy
|
||||
|
||||
# Clone the repo.
|
||||
RUN git clone https://github.com/drzoidberg33/plexpy.git /opt/plexpy/
|
||||
|
||||
# Volume for Plexpy data.
|
||||
VOLUME /data
|
||||
|
||||
# Set the working directory.
|
||||
WORKDIR /opt/plexpy
|
||||
|
||||
# Define default command.
|
||||
CMD ["python", "PlexPy.py", "--nolaunch", "--datadir=/data"]
|
||||
|
||||
# Expose ports.
|
||||
EXPOSE 8181
|
Loading…
Reference in New Issue
Block a user