Description
The multi-stage Dockerfile builder stage copies pyproject.toml but never copies the src/ directory before
invoking pip wheel.
As a result, the code artifacts aren't available when starting the forge-api at runtime
Steps to Reproduce:
podman compose up -f
Expected: API boots up given correct configurations
Actual: Error is thrown indicating that the source code is not available in the container:
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'forge'
Related: #46 — README.md required in the build context but not provided (separate but adjacent issue).
Description
The multi-stage Dockerfile builder stage copies pyproject.toml but never copies the src/ directory before
invoking pip wheel.
As a result, the code artifacts aren't available when starting the forge-api at runtime
Steps to Reproduce:
podman compose up -fExpected: API boots up given correct configurations
Actual: Error is thrown indicating that the source code is not available in the container:
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'forge'
Related: #46 — README.md required in the build context but not provided (separate but adjacent issue).