Skip to content

Commit

Permalink
Add noroot user
Browse files Browse the repository at this point in the history
  • Loading branch information
rvp-c committed Feb 17, 2025
1 parent 440bb2d commit 33f3e54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ languagetool-language-modules/nl/src/main/resources/org/languagetool/rules/nl/gr
.attach_pid*
bin/
LanguageTool*/
/languagetool-pod.yaml
4 changes: 3 additions & 1 deletion Dockerfile.neuris
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM alpine:3.20
RUN apk add --no-cache fasttext openjdk21-jre

RUN mkdir /home/languageTool
RUN adduser -u 10000 -h /home/languagetool -D languagetool
USER languagetool

WORKDIR /home/languageTool

COPY libs/ libs
Expand Down

0 comments on commit 33f3e54

Please sign in to comment.