Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker compose command failing #105

Open
SHASHANKB opened this issue Jan 10, 2025 · 2 comments
Open

Docker compose command failing #105

SHASHANKB opened this issue Jan 10, 2025 · 2 comments

Comments

@SHASHANKB
Copy link

docker compose command failing with following error:

14.48 Installing the current project: backend (0.1.0)
14.48 Warning: The current project could not be installed: Readme path `/workspace/README.md` does not exist.
14.48 If you do not want to install the current project use --no-root.
14.48 If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file.
14.48 If you did intend to install the current project, you may need to set `packages` in your pyproject.toml file.
14.48
[+] Running 0/1
 ⠸ Service backend  Building                                                                                                 18.3s
failed to solve: process "/bin/sh -c pip install --no-cache-dir poetry && poetry install" did not complete successfully: exit code: 1
@matamoe
Copy link

matamoe commented Jan 15, 2025

yeah, same here

@Linouth
Copy link

Linouth commented Jan 21, 2025

This can be fixed (at least temporarily) by placing package-mode = false in the pyproject.toml file under [tool.poetry].
So:

[tool.poetry]
name = "backend"
version = "0.1.0"
description = ""
authors = ["Rashad Philizaire <[email protected]>"]
readme = "README.md"
package-mode = false

...

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

No branches or pull requests

3 participants