From 24b04d9103283d1722dd3d9ae84ab2dcd0edd551 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 17 Aug 2023 10:35:40 +0200 Subject: [PATCH] s/--config-file/--config/ option in Dockerfile. --- examples/docker/Dockerfile | 2 +- platypush/app/__main__.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/docker/Dockerfile b/examples/docker/Dockerfile index 137ed3ec5..7bcd97a42 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 ed2e42208..54dea00ef 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:]))