diff --git a/Dockerfile b/Dockerfile index ead669b..ea68e01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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