Skip to content

Conversation

czubocha
Copy link
Contributor

@czubocha czubocha commented Feb 7, 2025

In v4 Compose, unlike in v3 Compose, separate processes are not spawned for individual services. As a result, the current working directory always remains where serverless-compose.yml is located. Therefore, we need to ensure that the correct absolute path is used instead of a path relative to the service directory. To create an absolute path we can use this.serverless.serviceDir.

Adressess serverless/serverless#12982

@czubocha czubocha self-assigned this Feb 7, 2025
@czubocha czubocha force-pushed the fix-v4-compose branch 2 times, most recently from a3136a1 to c618c7d Compare February 7, 2025 16:48
@czubocha czubocha merged commit bceb737 into master Feb 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant