Skip to content

Commit fa93dfb

Browse files
authored
node and deps updated (#246)
1 parent 5a80427 commit fa93dfb

File tree

2 files changed

+813
-687
lines changed

2 files changed

+813
-687
lines changed

conanio/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Install dependencies only when needed
2-
FROM node:23.7.0-alpine AS deps
2+
FROM node:24.5.0-alpine AS deps
33

44
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
55
RUN apk add --no-cache libc6-compat
@@ -8,7 +8,7 @@ COPY package.json yarn.lock ./
88
RUN yarn install --frozen-lockfile
99

1010
# Rebuild the source code only when needed
11-
FROM node:23.7.0-alpine AS builder
11+
FROM node:24.5.0-alpine AS builder
1212

1313
ARG NEXT_PUBLIC_CONAN_VERSION
1414
ARG NEXT_PUBLIC_CONAN_CONANIO_SERVICE
@@ -17,18 +17,18 @@ WORKDIR /app
1717
COPY --from=deps /app/node_modules ./node_modules
1818
COPY . .
1919

20-
ENV NEXT_TELEMETRY_DISABLED 1
20+
ENV NEXT_TELEMETRY_DISABLED=1
2121

2222
RUN yarn test:ci
2323
RUN yarn build . NEXT_PUBLIC_CONAN_VERSION=${NEXT_PUBLIC_CONAN_VERSION} NEXT_PUBLIC_CONAN_CONANIO_SERVICE=${NEXT_PUBLIC_CONAN_CONANIO_SERVICE}
2424

2525
# Production image, copy all the files and run next
26-
FROM node:23.7.0-alpine AS runner
26+
FROM node:24.5.0-alpine AS runner
2727
WORKDIR /app
2828

29-
ENV NODE_ENV production
29+
ENV NODE_ENV=production
3030
# Uncomment the following line in case you want to disable telemetry during runtime.
31-
ENV NEXT_TELEMETRY_DISABLED 1
31+
ENV NEXT_TELEMETRY_DISABLED=1
3232

3333
RUN addgroup --system --gid 1001 nodejs
3434
RUN adduser --system --uid 1001 nextjs
@@ -47,7 +47,7 @@ USER nextjs
4747

4848
EXPOSE 3000
4949

50-
ENV PORT 3000
50+
ENV PORT=3000
5151

5252
RUN set
5353

0 commit comments

Comments
 (0)