build: use env vars
This commit is contained in:
parent
df3dd52354
commit
190e91f083
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ ENV NODE_ENV=production
|
|||
# Uncomment the following line in case you want to disable telemetry during runtime.
|
||||
ENV NEXT_TELEMETRY_DISABLED=1s
|
||||
|
||||
ARG NEXT_PUBLIC_CONTENT_API_BASE_URL
|
||||
ENV NEXT_PUBLIC_CONTENT_API_BASE_URL=$NEXT_PUBLIC_CONTENT_API_BASE_URL
|
||||
|
||||
RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue