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 f970806 commit e197059Copy full SHA for e197059
Dockerfile.prod
@@ -6,7 +6,9 @@ WORKDIR /usr/src/app
6
COPY . .
7
RUN yarn install
8
RUN cd packages/db && DATABASE_URL=$DATABASE_URL npx prisma generate && cd ../..
9
-RUN DATABASE_URL=$DATABASE_URL yarn build
+RUN yarn install
10
+ENV DATABASE_URL=$DATABASE_URL
11
+RUN yarn build
12
13
EXPOSE 3000
14
0 commit comments