Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cicd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,id=apt-lists-${TARGETPLATFORM},

# Copy project definitions
WORKDIR /app
# Create a non-root user and switch to it for security
RUN useradd -m -s /bin/bash appuser && \
chown -R appuser:appuser /app
USER appuser
COPY pyproject.toml uv.lock ./

# Install Python dependencies
Expand Down