Skip to content

Commit

Permalink
Run LanguageTool without privileges
Browse files Browse the repository at this point in the history
  • Loading branch information
Erikvl87 committed Mar 28, 2019
1 parent dda7e8d commit f02abaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ COPY start.sh start.sh

COPY config.properties config.properties

RUN groupadd -r languagetool && useradd --no-log-init -r -g languagetool languagetool

USER languagetool

CMD [ "bash", "start.sh" ]

EXPOSE 8010

0 comments on commit f02abaf

Please sign in to comment.