Force python3 on the Dockerfile CMD
This commit is contained in:
parent
9ee69e08f3
commit
44d24b42d1
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ def generate_dockerfile(deps, ports, cfgfile, devdir):
|
||||||
for port in ports:
|
for port in ports:
|
||||||
content += 'EXPOSE {}\n'.format(port)
|
content += 'EXPOSE {}\n'.format(port)
|
||||||
|
|
||||||
content += '\nCMD ["python", "-m", "platypush"]\n'
|
content += '\nCMD ["python3", "-m", "platypush"]\n'
|
||||||
dockerfile = os.path.join(devdir, 'Dockerfile')
|
dockerfile = os.path.join(devdir, 'Dockerfile')
|
||||||
print('Generating Dockerfile {}'.format(dockerfile))
|
print('Generating Dockerfile {}'.format(dockerfile))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue