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 13d1fcc commit 48b81df
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:14.15.5-alpine as base
FROM node:20.8.0-alpine3.18 as base
ENV NO_UPDATE_NOTIFIER=true

USER node
Expand Down Expand Up @@ -31,9 +31,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 48b81df

Please sign in to comment.