Plex-Bot-Music/Dockerfile

18 lines
286 B
Docker
Raw Normal View History

2020-07-27 06:07:37 +02:00
# Python 3.7
FROM python:3.7
# 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"]