We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97df71f commit 0316c84Copy full SHA for 0316c84
.dockerignore
@@ -1 +1,2 @@
1
node_modules
2
+.env*
Dockerfile
@@ -10,8 +10,9 @@ FROM base AS build
10
11
WORKDIR /build
12
ARG SQL_GENERATE_URL
13
+RUN test -n "${SQL_GENERATE_URL}"
14
ENV DATABASE_URL=$SQL_GENERATE_URL
-RUN test -n "${DATABASE_URL}"
15
+ENV DIRECT_URL=$SQL_GENERATE_URL
16
COPY . .
17
RUN --mount=type=cache,target=~/.bun/install bun install --frozen-lockfile --ignore-scripts
18
RUN cd server; bun prisma generate --sql
0 commit comments