nlbdev / nordic-epub3-dtbook-migrator

Tools for converting between a strict subset of DTBook and EPUB3.
http://nlbdev.github.io/nordic-epub3-dtbook-migrator/
GNU Lesser General Public License v2.1
8 stars 7 forks source link

Dockerfile: fix linter warnings, run tests, added healthcheck #564

Closed josteinaj closed 1 year ago

josteinaj commented 1 year ago

I've been through the Dockerfile and fixed some linter warnings.

I've also made it so that all the tests are run when building the docker image. They can be skipped by setting the build argument SKIP_TESTS to true.

Also, I've added a basic healthcheck, which simply checks that it gets a HTTP 200 OK from /v1/.