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 ./