moving the source code into a folder called app and changing the docker file to launch it from there on startup

This commit is contained in:
Luke Robles 2017-08-08 15:08:20 -07:00
parent 2ba5d1abe9
commit 8afdad88b4
3 changed files with 3 additions and 2 deletions

View File

@ -3,5 +3,5 @@ RUN apt-get update && apt-get install -y curl &&\
pip3 install requests discord.py docker pybooru && \
curl -Lks get.docker.com | bash
ADD dragon-bot.py /
CMD python dragon-bot.py
ADD app /app
CMD python app/dragon-bot.py

View File

@ -6,6 +6,7 @@ import help_methods
import discord
import docker
from pybooru import Danbooru
# Client object
client = discord.Client()