-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5038 from systeminit/nick/3307a92
Read from the audit database
- Loading branch information
Showing
33 changed files
with
816 additions
and
531 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,8 @@ COPY --from=base /app/out/full/ . | |
|
||
FROM installer AS builder | ||
WORKDIR /app/bin/auth-api | ||
RUN pnpx prisma generate | ||
RUN apt-get update -y && apt-get install -y openssl \ | ||
&& pnpm [email protected] dlx prisma generate | ||
RUN pnpm run build \ | ||
&& echo "strict-peer-dependencies=false" > .npmrc \ | ||
&& PRISMA_SKIP_POSTINSTALL_GENERATE=1 pnpm --prod --filter @si/auth-api deploy pruned \ | ||
|
@@ -31,5 +32,5 @@ COPY --from=builder /app/bin/auth-api/dist/src ./dist | |
COPY --from=builder /app/bin/auth-api/dist/node_modules/@si/ts-lib ./node_modules/@si/ts-lib | ||
RUN rm -rf ./dist/node_modules \ | ||
&& sed -i.bak "s/\.ts/\.js/g" ./node_modules/@si/ts-lib/package.json \ | ||
&& pnpx prisma generate | ||
&& pnpm [email protected] dlx prisma generate | ||
CMD pnpm run boot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.