new attempt
This commit is contained in:
parent
364a8a43c5
commit
f39bfd9980
@ -1,4 +1,7 @@
|
|||||||
ARG RUNNER_ENV=production
|
ARG RUNNER_ENV=production
|
||||||
|
ARG DATABASE_URL
|
||||||
|
ARG NEXTAUTH_URL
|
||||||
|
ARG JWT_SECRET
|
||||||
|
|
||||||
FROM node:20-alpine AS base
|
FROM node:20-alpine AS base
|
||||||
|
|
||||||
@ -18,9 +21,9 @@ RUN \
|
|||||||
|
|
||||||
FROM base AS builder-production
|
FROM base AS builder-production
|
||||||
|
|
||||||
ENV DATABASE_URL=${DATABASE_URL}
|
ENV DATABASE_URL ${DATABASE_URL}
|
||||||
ENV NEXTAUTH_URL=${NEXTAUTH_URL}
|
ENV NEXTAUTH_URL ${NEXTAUTH_URL}
|
||||||
ENV JWT_SECRET=${JWT_SECRET}
|
ENV JWT_SECRET ${JWT_SECRET}
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
|
Loading…
x
Reference in New Issue
Block a user