Browse Source

fixed minimum version requirements and tidied dockerfile

master
Zac Herd 5 years ago
parent
commit
5c1afd1b73
2 changed files with 8 additions and 1 deletions
  1. +6
    -0
      Dockerfile
  2. +2
    -1
      requirements.txt

+ 6
- 0
Dockerfile View File

@@ -1,5 +1,11 @@
FROM python:3.5-alpine

# copy files
WORKDIR /maki
COPY ["requirements.txt", "*.py", "./"]

# install dependencies
RUN pip install -r requirements.txt

# start bot
CMD ["python", "./bot.py"]

+ 2
- 1
requirements.txt View File

@@ -1,2 +1,3 @@
discord.py==0.15.1
discord.py>=0.16.0
requests>=2.20.0
ftfy>=5.5.0

Loading…
Cancel
Save