mirror of https://github.com/Askill/SurvBot.git
added docker
This commit is contained in:
parent
527a7ba248
commit
f1397f6d4f
|
|
@ -0,0 +1,5 @@
|
||||||
|
FROM python:3.7
|
||||||
|
COPY ./ /app
|
||||||
|
WORKDIR /app
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
CMD python app.py
|
||||||
|
|
@ -17,5 +17,9 @@ It can be enabled/disabled via chat commands ("/start", "/stop")
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- python app.py
|
- python app.py
|
||||||
|
|
||||||
|
#### Docker
|
||||||
|
docker build -t survbot .
|
||||||
|
docker run -d --rm -p 80:5003 survbot
|
||||||
|
|
||||||
#### Result:
|
#### Result:
|
||||||

|

|
||||||
|
|
|
||||||
Loading…
Reference in New Issue