remove asset dir from Dockerfile
All checks were successful
Security Scan / dependency-check (push) Successful in 38s
Security Scan / security (push) Successful in 41s
Test Suite / lint (push) Successful in 29s
Test Suite / test (3.11) (push) Successful in 1m29s
Test Suite / build (push) Successful in 43s

This commit is contained in:
2025-10-02 08:44:46 -07:00
parent c38f8f2ef8
commit 4b99f2e816

View File

@@ -23,7 +23,6 @@ COPY pyproject.toml uv.lock ./
# Copy source code (needed for editable install)
COPY src/ src/
COPY assets/ assets/
# Change ownership of source files before building (lighter I/O)
RUN chown -R appuser:appuser /app
@@ -56,7 +55,6 @@ RUN chown appuser:appuser /app
# Copy files from builder with correct ownership
COPY --from=builder --chown=appuser:appuser /app/.venv /app/.venv
COPY --from=builder --chown=appuser:appuser /app/src /app/src
COPY --from=builder --chown=appuser:appuser /app/assets /app/assets
# Switch to non-root user
USER appuser