aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorChristian Segundo2026-09-20 21:16:52 +0200
committerChristian Segundo2026-09-21 00:01:30 +0200
commit300188f729329139d8ed0cbd9e00d8947883cc6c (patch)
tree99fc799b34a3cc570b8db72f01e75e8c585117b8 /Dockerfile
parent7f1fcd140a22d5668982a7b3ca81198f77a200d2 (diff)
downloadlanguagetool-master.tar.gz
make it work with new registry urlHEADmaster
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