updated .\dockerfile and .\prisma\ [deploy]
Some checks failed
Deploy Discord Bot / deploy (push) Failing after 2m6s
Some checks failed
Deploy Discord Bot / deploy (push) Failing after 2m6s
This commit is contained in:
@@ -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 ./
|
||||
|
||||
Reference in New Issue
Block a user