new attempt

This commit is contained in:
Brandon Egger 2024-02-20 12:51:41 -06:00
parent 364a8a43c5
commit f39bfd9980

View File

@ -1,4 +1,7 @@
ARG RUNNER_ENV=production
ARG DATABASE_URL
ARG NEXTAUTH_URL
ARG JWT_SECRET
FROM node:20-alpine AS base
@ -18,9 +21,9 @@ RUN \
FROM base AS builder-production
ENV DATABASE_URL=${DATABASE_URL}
ENV NEXTAUTH_URL=${NEXTAUTH_URL}
ENV JWT_SECRET=${JWT_SECRET}
ENV DATABASE_URL ${DATABASE_URL}
ENV NEXTAUTH_URL ${NEXTAUTH_URL}
ENV JWT_SECRET ${JWT_SECRET}
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules