From d90531066dcf04d7d02177b1b4988dd87c79f05c Mon Sep 17 00:00:00 2001 From: "Paul G." Date: Fri, 16 Aug 2024 17:09:16 +0200 Subject: [PATCH] fix: adding curl to fix healtcheck (#3812) Co-authored-by: Paul Gaucher --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f6a7fde0a..60bfae697 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ RUN mkdir -p /app/shared/node_modules && mkdir -p /app/server/node_modules FROM node:22-slim AS server WORKDIR /app -RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates && apt-get clean +RUN apt-get update && apt-get install -y ca-certificates curl && update-ca-certificates && apt-get clean ENV NODE_ENV production ARG PUBLIC_VERSION @@ -81,7 +81,7 @@ RUN yarn workspace ui build FROM node:22-slim AS ui WORKDIR /app -RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates && apt-get clean +RUN apt-get update && apt-get install -y ca-certificates curl && update-ca-certificates && apt-get clean ENV NODE_ENV production # Uncomment the following line in case you want to disable telemetry during runtime. @@ -101,7 +101,7 @@ COPY --from=builder_ui --chown=nextjs:nodejs /app/ui/next.config.js /app/ COPY --from=builder_ui --chown=nextjs:nodejs /app/ui/public /app/ui/public COPY --from=builder_ui --chown=nextjs:nodejs /app/ui/package.json /app/ui/package.json -# Automatically leverage output traces to reduce image size +# Automatically leverage output traces to reduce image size # https://nextjs.org/docs/advanced-features/output-file-tracing COPY --from=builder_ui --chown=nextjs:nodejs /app/ui/.next/standalone /app/ COPY --from=builder_ui --chown=nextjs:nodejs /app/ui/.next/static /app/ui/.next/static