Changed IsDocker check (#1998)
* Refactored IsDocker to be completely static and changed to use an environment variable instead. * Removed file from another branch
This commit is contained in:
parent
57a6c769bc
commit
be5b5d9251
10 changed files with 20 additions and 77 deletions
|
|
@ -32,5 +32,7 @@ WORKDIR /kavita
|
|||
|
||||
HEALTHCHECK --interval=30s --timeout=15s --start-period=30s --retries=3 CMD curl --fail http://localhost:5000/api/health || exit 1
|
||||
|
||||
ENV DOTNET_RUNNING_IN_CONTAINER=true
|
||||
|
||||
ENTRYPOINT [ "/bin/bash" ]
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue