diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..70e93c5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM python:3.7 +COPY ./ /app +WORKDIR /app +RUN pip install -r requirements.txt +CMD python app.py diff --git a/README.md b/README.md index cc8aed4..ef4276f 100644 --- a/README.md +++ b/README.md @@ -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)