diff options
| author | Christian Segundo | 2026-09-20 21:16:52 +0200 |
|---|---|---|
| committer | Christian Segundo | 2026-09-21 00:01:30 +0200 |
| commit | 300188f729329139d8ed0cbd9e00d8947883cc6c (patch) | |
| tree | 99fc799b34a3cc570b8db72f01e75e8c585117b8 /Dockerfile | |
| parent | 7f1fcd140a22d5668982a7b3ca81198f77a200d2 (diff) | |
| download | languagetool-master.tar.gz | |
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |