diff --git a/Dockerfile.relay b/Dockerfile.relay index ccc597c..84cb574 100644 --- a/Dockerfile.relay +++ b/Dockerfile.relay @@ -62,6 +62,8 @@ RUN rm -rf node_modules && yarn install --production --ignore-scripts --prefer-o FROM node:20.2-alpine as app +RUN apk add --no-cache curl # For health checks + # Set non-root user and expose ports USER node @@ -71,8 +73,6 @@ ENV NODE_ENV production RUN mkdir /home/node/app WORKDIR /home/node/app -RUN apk add --no-cache curl # For health checks - # Copy results from previous stage. # The base image is same as the build stage, so it is safe to copy node_modules over to this stage. COPY --chown=node:node --from=prune /home/node/app/out/json/ .