Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Fix sonarqube violations
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Nov 29, 2023
1 parent 1dc2e9a commit 1a7dbfc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions wiki-docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
FROM python:3.9-alpine

RUN apk update
RUN apk add rsync
RUN apk add git
RUN apk add nodejs npm
# Install system dependencies
RUN apk update && \
apk add --no-cache rsync git nodejs npm && \
rm -rf /var/cache/apk/*

# Copy and install Python dependencies
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt --no-cache-dir

# Switch to a non-root user (if 'nonroot' is already created)
USER nonroot

# Build doc by default
Expand Down

0 comments on commit 1a7dbfc

Please sign in to comment.