added docker

This commit is contained in:
Askill 2019-11-16 22:10:50 +01:00
parent 527a7ba248
commit f1397f6d4f
2 changed files with 9 additions and 0 deletions

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM python:3.7
COPY ./ /app
WORKDIR /app
RUN pip install -r requirements.txt
CMD python app.py

View File

@ -17,5 +17,9 @@ It can be enabled/disabled via chat commands ("/start", "/stop")
- pip install -r requirements.txt
- python app.py
#### Docker
docker build -t survbot .
docker run -d --rm -p 80:5003 survbot
#### Result:
![](1.png)