Add curl for basic healthcheck (#2186)

This commit is contained in:
Derek Vanderveer 2023-10-19 02:41:18 -04:00 committed by GitHub
parent aefd65ae83
commit 68f0b654d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,7 @@ RUN rm -rf ./node_modules/npm
RUN du -sh ./node_modules/* | sort -nr | grep '\dM.*' RUN du -sh ./node_modules/* | sort -nr | grep '\dM.*'
FROM node:alpine as runner FROM node:alpine as runner
RUN apk update && apk add curl --no-cache
COPY --from=builder /usr/src/app/dist /app/dist COPY --from=builder /usr/src/app/dist /app/dist
COPY --from=builder /usr/src/app/node_modules /app/node_modules COPY --from=builder /usr/src/app/node_modules /app/node_modules