Skip to content

Commit 47eb561

Browse files
committed
fix: prisma uses DIRECT_URL
1 parent 97df71f commit 47eb561

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
.env*

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ FROM base AS build
1010

1111
WORKDIR /build
1212
ARG SQL_GENERATE_URL
13-
ENV DATABASE_URL=$SQL_GENERATE_URL
13+
ENV DIRECT_URL=$SQL_GENERATE_URL
1414
RUN test -n "${DATABASE_URL}"
1515
COPY . .
1616
RUN --mount=type=cache,target=~/.bun/install bun install --frozen-lockfile --ignore-scripts

0 commit comments

Comments
 (0)