fix: Remove console.log

This commit is contained in:
Andras Bacsai 2022-04-03 23:03:41 +02:00
parent 39f2e28a11
commit 03e7af12be

View File

@ -47,9 +47,7 @@ const createDockerfile = async (data, image): Promise<void> => {
} }
Dockerfile.push(`COPY .${baseDirectory || ''} ./`); Dockerfile.push(`COPY .${baseDirectory || ''} ./`);
Dockerfile.push(`EXPOSE ${port}`); Dockerfile.push(`EXPOSE ${port}`);
console.log({ pythonWSGI });
if (pythonWSGI?.toLowerCase() === 'gunicorn') { if (pythonWSGI?.toLowerCase() === 'gunicorn') {
console.log({ pythonModule, pythonVariable });
Dockerfile.push(`CMD gunicorn -w=4 -b=0.0.0.0:8000 ${pythonModule}:${pythonVariable}`); Dockerfile.push(`CMD gunicorn -w=4 -b=0.0.0.0:8000 ${pythonModule}:${pythonVariable}`);
} else if (pythonWSGI?.toLowerCase() === 'uwsgi') { } else if (pythonWSGI?.toLowerCase() === 'uwsgi') {
Dockerfile.push( Dockerfile.push(