Skip to content

Commit

Permalink
Merge pull request idealista#39 from idealista/features/dockerfile
Browse files Browse the repository at this point in the history
Add Dockerfile and fix README.md
  • Loading branch information
dortegau authored Jan 6, 2018
2 parents 422bc06 + 71dd271 commit 7adf776
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM python:3.5-slim-jessie

LABEL maintainer="labs@idealista.com"

EXPOSE 8089

RUN pip install prom2teams
COPY config.ini /opt/prom2teams/config.ini

ENTRYPOINT ["prom2teams", "--configpath", "/opt/prom2teams/config.ini"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $ pip3 install prom2teams

```bash
# To start the server (a config file path must be provided, log file path, log level and Jinja2 template path are optional arguments):
$ prom2teams start --configpath <config file path> [--logfilepath <log file path>] [--loglevel (DEBUG|INFO|WARNING|ERROR|CRITICAL)] [--templatepath <Jinja2 template file path>]
$ prom2teams --configpath <config file path> [--logfilepath <log file path>] [--loglevel (DEBUG|INFO|WARNING|ERROR|CRITICAL)] [--templatepath <Jinja2 template file path>]

# To show the help message:
$ prom2teams --help
Expand Down

0 comments on commit 7adf776

Please sign in to comment.