mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-05-02 08:36:15 +02:00
cleanup
Signed-off-by: Jess Frazelle <me@jessfraz.com>
This commit is contained in:
parent
d497485990
commit
e6ae327087
@ -10,17 +10,16 @@ FROM alpine:latest
|
||||
MAINTAINER Cris G c@cristhekid.com
|
||||
|
||||
# Install required packages.
|
||||
RUN \
|
||||
apk add --update \
|
||||
RUN apk add --no-cache \
|
||||
python
|
||||
|
||||
# Get the source
|
||||
RUN set -x \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
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/
|
||||
&& mkdir -p /opt/plexpy \
|
||||
&& git clone https://github.com/drzoidberg33/plexpy.git /opt/plexpy/ \
|
||||
&& apk del .build-deps
|
||||
|
||||
# Volume for Plexpy data.
|
||||
VOLUME /data
|
||||
@ -28,8 +27,9 @@ VOLUME /data
|
||||
# Set the working directory.
|
||||
WORKDIR /opt/plexpy
|
||||
|
||||
# Define default command.
|
||||
CMD ["python", "PlexPy.py", "--nolaunch", "--datadir=/data"]
|
||||
|
||||
# Expose ports.
|
||||
EXPOSE 8181
|
||||
|
||||
# Define default command.
|
||||
CMD ["python", "PlexPy.py"]
|
||||
ENTRYPOINT ["--nolaunch", "--datadir=/data"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user