Explorar el Código

fixed minimum version requirements and tidied dockerfile

master
Zac Herd hace 5 años
padre
commit
5c1afd1b73
Se han modificado 2 ficheros con 8 adiciones y 1 borrados
  1. +6
    -0
      Dockerfile
  2. +2
    -1
      requirements.txt

+ 6
- 0
Dockerfile Ver fichero

@@ -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 Ver fichero

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

Cargando…
Cancelar
Guardar