From 44d24b42d1d8a751e6e91f71cdc3864a1c9ea42e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 18 Dec 2018 22:31:24 +0100 Subject: [PATCH] Force python3 on the Dockerfile CMD --- platypush/platydock/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/platydock/__init__.py b/platypush/platydock/__init__.py index 5946252f86..a39969a2f2 100755 --- a/platypush/platydock/__init__.py +++ b/platypush/platydock/__init__.py @@ -92,7 +92,7 @@ def generate_dockerfile(deps, ports, cfgfile, devdir): for port in ports: content += 'EXPOSE {}\n'.format(port) - content += '\nCMD ["python", "-m", "platypush"]\n' + content += '\nCMD ["python3", "-m", "platypush"]\n' dockerfile = os.path.join(devdir, 'Dockerfile') print('Generating Dockerfile {}'.format(dockerfile))