aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSodiumchloridy <[email protected]>2025-03-19 18:20:06 +0800
committerSodiumchloridy <[email protected]>2025-03-19 18:20:06 +0800
commit7a6b5d5ae5a5be05d5afadd336347e007cf0f361 (patch)
treec3661204e256aaa7e4c50ebe67aa9173322c7d9b
parentcbfc462d5e4ec8b7a095331fb12a132a1d4afb74 (diff)
downloadaniwatch-api-7a6b5d5ae5a5be05d5afadd336347e007cf0f361.tar.xz
aniwatch-api-7a6b5d5ae5a5be05d5afadd336347e007cf0f361.zip
build: install curl for healthcheck in Dockerfile
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 74a2e68..f0bee79 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,6 +20,9 @@ LABEL org.opencontainers.image.source=https://github.com/ghoshRitesh12/aniwatch-
LABEL org.opencontainers.image.description="Node.js API for obtaining anime information from hianime.to"
LABEL org.opencontainers.image.licenses=MIT
+# install curl for healthcheck
+RUN apk add --no-cache curl
+
# create a non-privileged user
RUN addgroup -S aniwatch && adduser -S zoro -G aniwatch