Skip to content

Issue when running docker-start.sh #30

@grayslawson

Description

@grayslawson

I'm on ubuntu 24.10.

Project root directory: /home/grays/Projects/DevDocs
Starting Docker containers...
Building Docker images to include latest code changes...
[+] Building 5.6s (9/10) docker:default
=> [mcp internal] load build definition from Dockerfile.mcp 0.0s
=> => transferring dockerfile: 729B 0.0s
=> [mcp internal] load metadata for docker.io/library/python:3.11-slim 0.6s
=> [mcp internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [mcp 1/6] FROM docker.io/library/python:3.11-slim@sha256:614c8691ab74 0.0s
=> [mcp internal] load build context 0.0s
=> => transferring context: 80.78kB 0.0s
=> CACHED [mcp 2/6] WORKDIR /app 0.0s
=> CACHED [mcp 3/6] RUN apt-get update && apt-get install -y --no-instal 0.0s
=> CACHED [mcp 4/6] COPY fast-markdown-mcp/ /app/ 0.0s
=> ERROR [mcp 5/6] RUN pip install --no-cache-dir -e . 4.9s

[mcp 5/6] RUN pip install --no-cache-dir -e .:
1.039 Obtaining file:///app
1.041 Installing build dependencies: started
2.998 Installing build dependencies: finished with status 'done'
2.999 Checking if build backend supports build_editable: started
3.088 Checking if build backend supports build_editable: finished with status 'done'
3.089 Getting requirements to build editable: started
3.275 Getting requirements to build editable: finished with status 'done'
3.278 Installing backend dependencies: started
4.484 Installing backend dependencies: finished with status 'done'
4.485 Preparing editable metadata (pyproject.toml): started
4.740 Preparing editable metadata (pyproject.toml): finished with status 'error'
4.743 error: subprocess-exited-with-error
4.743
4.743 × Preparing editable metadata (pyproject.toml) did not run successfully.
4.743 │ exit code: 1
4.743 ╰─> [29 lines of output]
4.743 Traceback (most recent call last):
4.743 File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 167, in prepare_metadata_for_build_editable
4.743 hook = backend.prepare_metadata_for_build_editable
4.743 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4.743 AttributeError: module 'hatchling.build' has no attribute 'prepare_metadata_for_build_editable'
4.743
4.743 During handling of the above exception, another exception occurred:
4.743
4.743 Traceback (most recent call last):
4.743 File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
4.743 main()
4.743 File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
4.743 json_out['return_val'] = hook(**hook_input['kwargs'])
4.743 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4.743 File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 176, in prepare_metadata_for_build_editable
4.743 whl_basename = build_hook(metadata_directory, config_settings)
4.743 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4.743 File "/tmp/pip-build-env-2x1xvspk/overlay/lib/python3.11/site-packages/hatchling/build.py", line 83, in build_editable
4.743 return os.path.basename(next(builder.build(directory=wheel_directory, versions=['editable'])))
4.743 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4.743 File "/tmp/pip-build-env-2x1xvspk/overlay/lib/python3.11/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
4.743 self.metadata.validate_fields()
4.743 File "/tmp/pip-build-env-2x1xvspk/overlay/lib/python3.11/site-packages/hatchling/metadata/core.py", line 266, in validate_fields
4.743 self.core.validate_fields()
4.743 File "/tmp/pip-build-env-2x1xvspk/overlay/lib/python3.11/site-packages/hatchling/metadata/core.py", line 1366, in validate_fields
4.743 getattr(self, attribute)
4.743 File "/tmp/pip-build-env-2x1xvspk/overlay/lib/python3.11/site-packages/hatchling/metadata/core.py", line 531, in readme
4.743 raise OSError(message)
4.743 OSError: Readme file does not exist: README_MCP.md
4.743 [end of output]
4.743
4.743 note: This error originates from a subprocess, and is likely not a problem with pip.
4.745 error: metadata-generation-failed
4.745
4.745 × Encountered error while generating package metadata.
4.745 ╰─> See above for output.
4.745
4.745 note: This is an issue with the package mentioned above, not pip.
4.745 hint: See above for details.
4.865
4.865 [notice] A new release of pip is available: 24.0 -> 25.0.1
4.865 [notice] To update, run: pip install --upgrade pip


failed to solve: process "/bin/sh -c pip install --no-cache-dir -e ." did not complete successfully: exit code: 1
All services are running!
Frontend: http://localhost:3001
Backend: http://localhost:24125
Crawl4AI: http://localhost:11235
Logs: ./logs/
Press Ctrl+C to stop all services
Monitoring services...
One or more containers have stopped unexpectedly
Shutting down services...

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions