Skip to content

Commit

Permalink
feat: node 20.8, remove docker based health checks
Browse files Browse the repository at this point in the history
  • Loading branch information
vanthome committed Oct 6, 2023
1 parent e9bb963 commit 38b4e73
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Base
FROM node:18.14.0-alpine as base
FROM node:20.8.0-alpine3.18 as base
ENV NO_UPDATE_NOTIFIER=true

RUN apk add --no-cache git
Expand Down Expand Up @@ -34,9 +34,6 @@ COPY --chown=node:node --from=build $APP_HOME/lib $APP_HOME/lib
EXPOSE 50051

USER root
RUN GRPC_HEALTH_PROBE_VERSION=v0.3.3 && \
wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
chmod +x /bin/grpc_health_probe
USER node

HEALTHCHECK CMD ["/bin/grpc_health_probe", "-addr=:50051"]
Expand Down

0 comments on commit 38b4e73

Please sign in to comment.