diff --git a/examples/docker/Dockerfile b/examples/docker/Dockerfile index 137ed3ec54..7bcd97a42c 100644 --- a/examples/docker/Dockerfile +++ b/examples/docker/Dockerfile @@ -35,4 +35,4 @@ EXPOSE 8008 VOLUME /app/config VOLUME /app/workdir -CMD platypush --start-redis --config-file /app/config/config.yaml --workdir /app/workdir +CMD platypush --start-redis --config /app/config/config.yaml --workdir /app/workdir diff --git a/platypush/app/__main__.py b/platypush/app/__main__.py index ed2e42208f..54dea00ef3 100644 --- a/platypush/app/__main__.py +++ b/platypush/app/__main__.py @@ -2,6 +2,4 @@ import sys from ._app import main - -if __name__ == '__main__': - sys.exit(main(*sys.argv[1:])) +sys.exit(main(*sys.argv[1:]))