Skip to content

Commit

Permalink
fix: build env
Browse files Browse the repository at this point in the history
  • Loading branch information
dotslashf committed Oct 1, 2024
1 parent e5df22f commit 4b6daf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ARG DATABASE_URL
ARG GCS_BUCKET_NAME
ARG GCP_SA_KEY
ARG NEXT_PUBLIC_CLIENTVAR
ARG RESEND_API_KEY
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
Expand All @@ -33,6 +34,7 @@ RUN apt-get update -y && apt-get install -y openssl
ENV DATABASE_URL=${DATABASE_URL}
ENV GCS_BUCKET_NAME=${GCS_BUCKET_NAME}
ENV GCP_SA_KEY=${GCP_SA_KEY}
ENV RESEND_API_KEY=${RESEND_API_KEY}

# Run Prisma migrations
RUN npm install -g prisma && prisma migrate deploy
Expand Down

0 comments on commit 4b6daf4

Please sign in to comment.