no-mistakes(test): Fix Docker build: add build-system config and scope package discovery to app*
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ COPY alembic/ alembic/
|
||||
COPY app/ app/
|
||||
|
||||
# Install Python dependencies
|
||||
RUN pip install --no-cache-dir -e .
|
||||
RUN pip install --no-cache-dir .
|
||||
|
||||
# Expose port
|
||||
EXPOSE 8000
|
||||
|
||||
@@ -15,6 +15,13 @@ dependencies = [
|
||||
"aiosqlite>=0.20.0",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=64.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["app*"]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.0",
|
||||
|
||||
Reference in New Issue
Block a user