diff options
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 |