Skip to content

Commit d015b4f

Browse files
committed
feat: docker image update
1 parent 3809613 commit d015b4f

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.env.example

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,10 @@ FIREBASE_PROJECT_ID=
77
SESSION_COOKIE_NAME=
88
GOOGLE_APPLICATION_CREDENTIALS=/path/to/serviceAccountKey.json
99

10-
CLIENT_ID=
10+
CLIENT_ID=
11+
12+
13+
OTEL_RESOURCE_ATTRIBUTES=
14+
OTEL_EXPORTER_OTLP_ENDPOINT=
15+
OTEL_EXPORTER_OTLP_HEADERS=
16+
OTEL_ExPORTER_OTLP_PROTOCOL=

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Install dependencies only when needed
2-
FROM node:20-alpine AS deps
2+
FROM node:23-alpine AS deps
33
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
44
RUN apk add --no-cache libc6-compat
55
WORKDIR /app
@@ -15,19 +15,19 @@ RUN \
1515

1616

1717
# Rebuild the source code only when needed
18-
FROM node:20-alpine AS builder
18+
FROM node:23-alpine AS builder
1919
WORKDIR /app
2020
COPY . .
2121

22-
RUN yarn install --force
22+
RUN yarn
2323

2424
RUN yarn build
2525

2626
# If using npm comment out above and use below instead
2727
# RUN npm run build
2828

2929
# Production image, copy all the files and run next
30-
FROM node:20-alpine AS runner
30+
FROM node:23-alpine AS runner
3131
WORKDIR /app
3232

3333
ENV NODE_ENV production

0 commit comments

Comments
 (0)