Skip to content

Instantly share code, notes, and snippets.

@bmsimons
Created June 3, 2022 17:59
Show Gist options
  • Select an option

  • Save bmsimons/f7539431bf651d2146e5c0dc02755b89 to your computer and use it in GitHub Desktop.

Select an option

Save bmsimons/f7539431bf651d2146e5c0dc02755b89 to your computer and use it in GitHub Desktop.
Simple Dockerfile for deploying a Plex Server
FROM ubuntu:jammy
ENV DEBIAN_FRONTEND="noninteractive"
RUN \
apt update && \
apt install -y curl && \
curl -o /tmp/plexmediaserver.deb -L https://downloads.plex.tv/plex-media-server-new/1.26.2.5797-5bd057d2b/debian/plexmediaserver_1.26.2.5797-5bd057d2b_amd64.deb && \
dpkg -i /tmp/plexmediaserver.deb && \
rm -f /tmp/plexmediaserver.deb && \
apt clean && \
mkdir -p /mnt/music
ENTRYPOINT ["/bin/sh","-c","'/lib/plexmediaserver/Plex Media Server'"]
EXPOSE 32400/tcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment