Skip to content

Commit

Permalink
revert(dockerfile): revert docker health check
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Oct 16, 2023
1 parent 3036a75 commit 7ed805b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@restorecommerce/cart": "^1.0.1",
"@restorecommerce/chassis-srv": "^1.2.5",
"@restorecommerce/cluster-service": "^1.0.2",
"@restorecommerce/grpc-client": "^2.0.3",
"@restorecommerce/grpc-client": "^2.0.4",
"@restorecommerce/kafka-client": "^1.1.3",
"@restorecommerce/logger": "^1.2.4",
"@restorecommerce/rc-grpc-clients": "^5.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/experimental/access_control_decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { Response_Decision } from '@restorecommerce/rc-grpc-clients/dist/generat
export type ACSClientContextFactory = (self: any, ...args: any) => Promise<ACSClientContext>;
export type ResourceFactory = (self: any, ...args: any) => Promise<Resource[]>;

export function access_controlled_service<T extends { new (...args: any): {} }>(baseService: T) {
export function access_controlled_service<T extends { new (...args: any): {} }>(baseService: T): any {
return class extends baseService {
public readonly user_service: Client<UserServiceDefinition>;

Expand Down

0 comments on commit 7ed805b

Please sign in to comment.