Skip to content

Commit

Permalink
fix: adding curl to fix healtcheck (#3812)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Gaucher <[email protected]>
  • Loading branch information
Pomarom and Pomarom authored Aug 16, 2024
1 parent 16a434b commit d905310
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit d905310

Please sign in to comment.