<!-- Love localstack? Please consider supporting our collective:
👉  https://opencollective.com/localstack/donate -->

# Type of request: This is a ...

[x] bug report
[ ] feature request

# Detailed description
When `mountCode: true` for a serverless.yml deployment to localstack on Windows, Localstack mounts the wrong path.
...

## Expected behavior
Docker expects the Windows client path value of the `-v` flag to begin with `/host_mtn/`.
...

## Actual behavior
Localstack does not add this to the Windows client path. This causes the volume sharing to fail. Once one tries to invoke a lambda without the proper volume sharing, the lambda fails with an error along the lines of "can't find no module 'lambda_name'".
...

# Steps to reproduce
1. In your `serverless.yml` set `mountCode: true` 
2. In your `docker-compose.yml` set the environment variable `LAMBDA_REMOTE_DOCKER: "0"` for the localstack container
3. Deploy some test lambda to the localstack container
4. Attempt to invoke with `awslocal lambda invoke --function-name LAMBDA_NAME out.txt` and replace LAMBDA_NAME with the name of your test lambda.
5. Note the invocation failure.

## Command used to start LocalStack
Started via a `docker-compose.yml` file. Pretty basic stuff.
...

## Client code (AWS SDK code snippet, or sequence of "awslocal" commands)
Just the `awslocal` invoke command outlined above.
...

""" Parses the environment variable $SERVICES with a comma-separated list of services
        and (optional) ports they should run on: 'service1:port1,service2,service3:port3' """
    service_ports = os.environ.get('SERVICES', '').strip()
    if not service_ports:
        return DEFAULT_SERVICE_PORTS
    result = {}
    for service_port in re.split(r'\s*,\s*', service_ports):
        parts = re.split(r'[:=]', service_port)
        service = parts[0]
        key_upper = service.upper().replace('-', '_')
        port_env_name = '%s_PORT' % key_upper
        
        port_number = DEFAULT_SERVICE_PORTS.get(service)
        
        if os.environ.get(port_env_name):
            port_number = os.environ.get(port_env_name)
        
        if len(parts) > 1:
            port_number = int(parts[-1])
        
        try:
            port_number = int(port_number)
        except Exception:
            port_number = 0
        result[service] = port_number
    return result
def populate_configs(service_ports=None):