mirror of
https://github.com/pacnpal/simpleguardhome.git
synced 2025-12-20 04:21:13 -05:00
feat(docker): update Dockerfile for editable mode compatibility and refine package installation
This commit is contained in:
@@ -37,8 +37,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN set -e && \
|
||||
echo "Installing package..." && \
|
||||
pip uninstall -y simpleguardhome || true && \
|
||||
# Install package with dependencies and PEP 517 support
|
||||
pip install --use-pep517 -e . && \
|
||||
# Install package in editable mode with compatibility mode enabled
|
||||
pip install --use-pep517 -e . --config-settings editable_mode=compat && \
|
||||
echo "Verifying installation..." && \
|
||||
pip show simpleguardhome && \
|
||||
# List all package files
|
||||
|
||||
@@ -27,6 +27,3 @@ packages = {find = {where = ["src"]}}
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
simpleguardhome = ["templates/*", "favicon.ico"]
|
||||
|
||||
[tool.setuptools.editable]
|
||||
mode = "compat"
|
||||
Reference in New Issue
Block a user