mirror of https://github.com/VERT-sh/VERT.git
fix: install curl in Docker image for healthcheck
The HEALTHCHECK command in the Dockerfile was using curl, but curl is not available by default in the nginx:stable-alpine base image. This caused the health checks to always fail. This commit adds curl installation using apk to ensure the healthcheck works correctly.
This commit is contained in:
parent
f5a56c8dd2
commit
e1f9f64057
|
|
@ -32,6 +32,8 @@ RUN bun run build
|
||||||
|
|
||||||
FROM nginx:stable-alpine
|
FROM nginx:stable-alpine
|
||||||
|
|
||||||
|
RUN apk add --no-cache curl
|
||||||
|
|
||||||
EXPOSE 80/tcp
|
EXPOSE 80/tcp
|
||||||
|
|
||||||
COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
|
COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue