Force python3 on the Dockerfile CMD

This commit is contained in:
Fabio Manganiello 2018-12-18 22:31:24 +01:00
parent 9ee69e08f3
commit 44d24b42d1
1 changed files with 1 additions and 1 deletions

View File

@ -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))