mirror of
https://github.com/jarulsamy/Plex-Bot.git
synced 2024-08-19 15:01:55 +02:00
25 lines
429 B
Docker
25 lines
429 B
Docker
# Python 3.7
|
|
FROM python:3.7
|
|
|
|
# Update system
|
|
RUN apt-get -y update
|
|
RUN apt-get -y upgrade
|
|
# Install ffmpeg
|
|
RUN apt-get install -y ffmpeg
|
|
|
|
# All source code
|
|
WORKDIR /src
|
|
|
|
# Copy of dependency manifest
|
|
COPY requirements.txt .
|
|
|
|
# Install all dependencies.
|
|
RUN pip install -r requirements.txt
|
|
|
|
# Copy PlexBot over to src.
|
|
COPY PlexBot/ PlexBot
|
|
|
|
# Run the bot
|
|
# CMD ["python", "-OO", "-m", "PlexBot"]
|
|
CMD ["python", "-m", "PlexBot"]
|