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:
parent
2ba5d1abe9
commit
8afdad88b4
@ -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
|
@ -6,6 +6,7 @@ import help_methods
|
||||
import discord
|
||||
import docker
|
||||
from pybooru import Danbooru
|
||||
|
||||
# Client object
|
||||
client = discord.Client()
|
||||
|
Loading…
x
Reference in New Issue
Block a user