diff --git a/tasks/start_service.py b/tasks/start_service.py index ff8ca04..18c83ea 100644 --- a/tasks/start_service.py +++ b/tasks/start_service.py @@ -31,6 +31,7 @@ def start_service(service_id: str, mode: str, db, cursor, port, dockerfile, tag, ports = {} + docker_mode = mode if docker_mode in ['docker', 'dockerfile']: for port_mapping in port.split(','): ex_port, in_port = port_mapping.split(':')