Fix docker build

This commit is contained in:
Yax 2025-03-28 20:34:45 +01:00
parent c28251a158
commit e429ee8030
2 changed files with 6 additions and 6 deletions

View file

@ -32,11 +32,11 @@ test:
build:
# https://stackoverflow.com/questions/24347450/how-do-you-add-additional-files-to-a-wheel
rm -rf build/* dist/* *.egg-info
uv sync
uv build --wheel --out-dir dist
docker build -t kianby/stacosys .
#docker login -u kianby
#docker push docker.io/kianby/stacosys:latest
docker build -t source.madyanne.fr/yax/stacosys .
docker push source.madyanne.fr/yax/stacosys
# run
run:
PYTHONPATH=src/ uv run python src/stacosys/run.py $(RUN_ARGS)
PYTHONPATH=src/ uv run python src/stacosys/run.py $(RUN_ARGS)

View file

@ -29,7 +29,7 @@ dev = [
[tool.setuptools]
package-dir = { "" = "src" } # Specify the root directory for packages
packages = ["stacosys"]
packages = ["stacosys", "stacosys.db", "stacosys.i18n", "stacosys.interface", "stacosys.interface.web", "stacosys.interface.templates", "stacosys.model", "stacosys.service"]
[tool.setuptools.package-data]
# Include `.properties` and `.html` files in the specified directories
@ -38,4 +38,4 @@ packages = ["stacosys"]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"