mirror of
https://github.com/nikdoof/dropbot.git
synced 2025-12-13 02:42:17 +00:00
Mention Docker in README.md
This commit is contained in:
@@ -5,9 +5,10 @@ RUN apt-get -qqy update
|
||||
RUN apt-get -qqy upgrade
|
||||
RUN apt-get -qqy install python-pip
|
||||
|
||||
ADD dropbot requirements.txt /usr/src/app/
|
||||
ADD . /usr/src/app/
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
RUN python setup.py install
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
CMD ["python", "dropbot/cli.py", "-c", "env"]
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
include README.md
|
||||
include dropbot/data/*
|
||||
|
||||
@@ -15,6 +15,13 @@ Setup
|
||||
|
||||
Dropbot is designed to run on Heroku, but can be ran locally using ```python dropbot\cli.py -c env```
|
||||
|
||||
Docker
|
||||
^^^^^^
|
||||
|
||||
Dropbot can be run on Docker using the image ``robhaswell/docker``:
|
||||
|
||||
``docker run -ti -e DROPBOT_JID='user@server' -e DROPBOT_PASSWORD='password' -e DROPBOT_ROOMS='room@server' robhaswell/dropbot``
|
||||
|
||||
Configuration
|
||||
-------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user