aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 92fa335..2d5626d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -31,8 +31,8 @@ COPY --chown=languagetool misc/init.sh /
COPY --chown=languagetool misc/ngram.sh /
HEALTHCHECK --timeout=10s --start-period=5s \
- CMD curl --fail --data "language=en-US&text=healthcheck test" http://localhost:8010/v2/check || exit 1
+ CMD ["curl", "-f", "--data", "language=en-US&text=healthcheck test", "http://localhost:8010/v2/check"]
CMD [ "bash", "/init.sh" ]
WORKDIR /home/languagetool/LanguageTool-$VERSION
-USER languagetool
+USER 1000
EXPOSE 8010