Created
June 3, 2022 17:59
-
-
Save bmsimons/f7539431bf651d2146e5c0dc02755b89 to your computer and use it in GitHub Desktop.
Simple Dockerfile for deploying a Plex Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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