s/--config-file/--config/ option in Dockerfile.

This commit is contained in:
Fabio Manganiello 2023-08-17 10:35:40 +02:00
parent f07b774e75
commit 24b04d9103
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
2 changed files with 2 additions and 4 deletions

View file

@ -35,4 +35,4 @@ EXPOSE 8008
VOLUME /app/config VOLUME /app/config
VOLUME /app/workdir 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

View file

@ -2,6 +2,4 @@ import sys
from ._app import main from ._app import main
sys.exit(main(*sys.argv[1:]))
if __name__ == '__main__':
sys.exit(main(*sys.argv[1:]))