-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: dsinghvi <[email protected]>
- Loading branch information
1 parent
80c2af9
commit 7d5b7f6
Showing
15 changed files
with
47 additions
and
63 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
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
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"extends": "@fern-platform/configs/tsconfig/library.json", | ||
"compilerOptions": { "outDir": "./dist", "rootDir": "./src" }, | ||
"include": ["./src/**/*"], | ||
"references": [{ "path": "../commons/core-utils" }] | ||
"include": ["./src/**/*"] | ||
} |
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 |
---|---|---|
|
@@ -7,8 +7,7 @@ RUN apk update | |
|
||
# Produce a pruned version of the monorepo | ||
WORKDIR /app | ||
# Install pnpm | ||
RUN npm install -g turbo | ||
RUN npm install -g [email protected] | ||
COPY . . | ||
RUN turbo prune @fern-platform/fdr --docker | ||
|
||
|
@@ -33,9 +32,9 @@ COPY --from=builder /app/out/full/ . | |
COPY turbo.json turbo.json | ||
COPY shared shared | ||
COPY fern fern | ||
# RUN pnpm turbo run compile --filter=@fern-platform/fdr | ||
RUN pnpm --filter=@fern-api/fdr-sdk compile | ||
RUN pnpm run compile --filter=@fern-platform/fdr | ||
RUN pnpm turbo --filter=@fern-api/fdr-sdk compile | ||
RUN pnpm turbo --filter=@fern-platform/fdr codegen | ||
RUN pnpm turbo --filter=@fern-platform/fdr compile | ||
|
||
FROM base AS runner | ||
WORKDIR /app | ||
|
@@ -47,4 +46,4 @@ ENV DATABASE_URL=$DATABASE_URL | |
|
||
COPY --from=installer /app . | ||
|
||
ENTRYPOINT ["/bin/sh", "/app/servers/fdr/scripts/run.sh"] | ||
ENTRYPOINT ["/bin/sh", "/app/servers/fdr/scripts/run.sh"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/bin/sh | ||
npm install -g prisma | ||
prisma migrate deploy --schema /app/servers/fdr/prisma/schema.prisma | ||
node --experimental-specifier-resolution=node /app/servers/fdr/dist/server.js | ||
prisma migrate deploy --schema /fdr/prisma/schema.prisma | ||
node --experimental-specifier-resolution=node /fdr/dist/server.js |
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