Skip to content

Commit cbafe6b

Browse files
committed
add env variable to dockerfile
1 parent 87908ad commit cbafe6b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ FROM node:22-alpine AS base
66
# for now just make nextjs happy by setting this variable
77
ENV MONGODB_URI_AUTH=mongodb://localhost:27020/auth
88

9+
ARG NEXT_PUBLIC_POSTHOG_KEY
10+
ENV NEXT_PUBLIC_POSTHOG_KEY=$NEXT_PUBLIC_POSTHOG_KEY
11+
912
FROM base AS deps
1013
RUN apk update && apk add --no-cache libc6-compat
1114
WORKDIR /app

0 commit comments

Comments
 (0)