diff --git a/Dockerfile b/Dockerfile new file mode 100755 index 0000000..e9601b9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python + +# Create app directory +WORKDIR /usr/src/app + +COPY requirements.* ./ + +RUN pip install -r requirements.txt && pip install -r requirements.bot.txt + +# Bundle app source +COPY . . + +CMD [ "sh", "-c", "python -m discord_bot" ] diff --git a/requirements.bot.txt b/requirements.bot.txt new file mode 100755 index 0000000..a41d83f --- /dev/null +++ b/requirements.bot.txt @@ -0,0 +1,2 @@ +discord.py +python-dotenv diff --git a/requirements.txt b/requirements.txt old mode 100644 new mode 100755 index 2a1099d..620a18e --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ Pillow -python-Levenshtein \ No newline at end of file +python-Levenshtein