From bb053a6ebea745cffb4bde75575a8e64d2f5083a Mon Sep 17 00:00:00 2001 From: Orionis312050 Date: Thu, 16 Apr 2026 18:23:36 +0200 Subject: [PATCH] Fix connection --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index d908119..fe47d0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,12 @@ COPY . . FROM node:22-alpine WORKDIR /app +# Récupération de la BDD (et autres) depuis Coolify au build +ARG DATABASE_URL +ENV DATABASE_URL=$DATABASE_URL +ARG PORT +ENV PORT=$PORT + # On ne copie que le nécessaire du builder COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package*.json ./