Commit a7bcce7
committed
Refactor Dockerfile to use setuptools build
The Docker build was failing in the CI/CD pipeline because it was attempting to use Poetry to export dependencies, but the project is configured to use setuptools.
This commit refactors the Dockerfile to use a standard, multi-stage build process with setuptools. The builder stage now creates a Python wheel, which is then installed in the runtime stage. This resolves the build error and correctly installs the application and its dependencies.
Additionally, the `build` package version has been pinned to `1.3.0` to satisfy the `hadolint` pre-commit hook.1 parent 6a7a42d commit a7bcce7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments