redeclare build args in specific stage
This commit is contained in:
parent
f39bfd9980
commit
4da489ba52
@ -1,7 +1,4 @@
|
||||
ARG RUNNER_ENV=production
|
||||
ARG DATABASE_URL
|
||||
ARG NEXTAUTH_URL
|
||||
ARG JWT_SECRET
|
||||
|
||||
FROM node:20-alpine AS base
|
||||
|
||||
@ -20,6 +17,9 @@ RUN \
|
||||
fi
|
||||
|
||||
FROM base AS builder-production
|
||||
ARG DATABASE_URL
|
||||
ARG NEXTAUTH_URL
|
||||
ARG JWT_SECRET
|
||||
|
||||
ENV DATABASE_URL ${DATABASE_URL}
|
||||
ENV NEXTAUTH_URL ${NEXTAUTH_URL}
|
||||
|
Loading…
x
Reference in New Issue
Block a user