updated .\dockerfile and .\prisma\ [deploy]
Some checks failed
Deploy Discord Bot / deploy (push) Failing after 2m6s

This commit is contained in:
Pascal Prießnitz
2025-12-03 03:18:12 +01:00
parent a7c518cc9d
commit 0cfd39eb74

View File

@@ -1,4 +1,4 @@
FROM node:22-bookworm
FROM node:20-bookworm
WORKDIR /usr/src/app
@@ -10,6 +10,7 @@ ENV NPM_CONFIG_PRODUCTION=false
ENV PATH="/usr/src/app/node_modules/.bin:${PATH}"
# dummy DB URL for prisma generate at build time
ENV DATABASE_URL=postgresql://user:pass@localhost:5432/papo?schema=public
ENV PRISMA_IGNORE_ENV_LOAD=true
# Install dependencies (inkl. dev)
COPY package*.json ./