refactor(docker): simplify Dockerfile by copying package directly for easier imports and streamline entrypoint script

This commit is contained in:
pacnpal
2025-01-29 09:47:14 -05:00
parent ceee425fab
commit 18d1125243
2 changed files with 4 additions and 4 deletions

View File

@@ -13,8 +13,8 @@ RUN apt-get update && \
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy source code
COPY src /app/src
# Copy the package directly to /app for simpler imports
COPY src/simpleguardhome /app/simpleguardhome
# Create rules_backup directory with proper permissions
RUN mkdir -p rules_backup && chmod 777 rules_backup