From e5f1df03c4afd5dad2fc55cfbfd7c07ccba5e4d8 Mon Sep 17 00:00:00 2001 From: Stavros Date: Wed, 8 Oct 2025 16:40:22 +0300 Subject: [PATCH] feat: add tinyauth to container path --- Dockerfile | 8 +++++--- Dockerfile.distroless | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index a34c499..1bbee23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,8 +51,10 @@ EXPOSE 3000 VOLUME ["/data"] -HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["/tinyauth/tinyauth", "healthcheck"] - ENV GIN_MODE=release -ENTRYPOINT ["/tinyauth/tinyauth"] \ No newline at end of file +ENV PATH=$PATH:/tinyauth + +HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["tinyauth", "healthcheck"] + +ENTRYPOINT ["tinyauth"] \ No newline at end of file diff --git a/Dockerfile.distroless b/Dockerfile.distroless index 146792f..068f755 100644 --- a/Dockerfile.distroless +++ b/Dockerfile.distroless @@ -51,8 +51,10 @@ EXPOSE 3000 VOLUME ["/data"] -HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["/tinyauth/tinyauth", "healthcheck"] - ENV GIN_MODE=release -ENTRYPOINT ["/tinyauth/tinyauth"] \ No newline at end of file +ENV PATH=$PATH:/tinyauth + +HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["tinyauth", "healthcheck"] + +ENTRYPOINT ["tinyauth"] \ No newline at end of file