feat(docker): update Dockerfile for improved package installation and add pyproject.toml

This commit is contained in:
pacnpal
2025-01-28 21:45:10 -05:00
parent b25fe5cb2b
commit 57539fa56e
2 changed files with 14 additions and 7 deletions

View File

@@ -5,6 +5,12 @@ build-backend = "setuptools.build_meta"
[project]
name = "simpleguardhome"
version = "0.1.0"
description = "SimpleGuardHome - A lightweight AdGuardHome UI"
authors = [
{name = "SimpleGuardHome Team"}
]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.7"
dependencies = [
"fastapi",
@@ -20,4 +26,7 @@ package-dir = {"" = "src"}
packages = {find = {where = ["src"]}}
[tool.setuptools.package-data]
simpleguardhome = ["templates/*", "favicon.ico"]
simpleguardhome = ["templates/*", "favicon.ico"]
[tool.setuptools.editable]
mode = "compat"