Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ COPY . .
# Run prisma client generator
RUN npx prisma generate

# Roda as migrations no ambiente de produção
RUN npx prisma migrate deploy

# Build the NestJS application
RUN npm run build

Expand Down
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generator client {

datasource db {
provider = "postgres"
url = env("DATABASE_URL")
url = env("URL_DATABASE")
}

model User {
Expand Down
Loading