Skip to content

Commit 8bcb93e

Browse files
authored
Merge branch 'main' into main
2 parents 67b80fe + 170fc5a commit 8bcb93e

File tree

5 files changed

+93
-91
lines changed

5 files changed

+93
-91
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ repos:
5151

5252
# 6. Security Check
5353
- repo: https://github.com/gitleaks/gitleaks
54-
rev: v8.24.2 # Use the latest tag from the repo
54+
rev: v8.24.3 # Use the latest tag from the repo
5555
hooks:
5656
- id: gitleaks
5757

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ FROM base AS production
102102

103103
# Create a non-root user and group using standard tools for Debian base
104104
RUN groupadd --system nonroot && \
105-
useradd --system --gid nonroot --no-create-home nonroot
105+
useradd --create-home --system --gid nonroot nonroot
106106

107107
WORKDIR /app
108108

@@ -119,7 +119,7 @@ ENV VIRTUAL_ENV=/app/.venv \
119119
COPY --from=build --chown=nonroot:nonroot /app /app
120120

121121
# Switch to the non-root user
122-
#USER nonroot
122+
USER nonroot
123123

124124
ENTRYPOINT ["tux"]
125125
CMD ["--prod", "start"]

0 commit comments

Comments
 (0)