-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
66 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
**/node_modules/ | ||
**/dist | ||
.git | ||
npm-debug.log | ||
.coverage | ||
.coverage.* | ||
.aws | ||
.husky | ||
**/target | ||
**/pkg | ||
**/tests | ||
*.md | ||
# env variables | ||
.env | ||
.env** | ||
# config | ||
config*.{yaml,yml} |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
FROM node:20.15-bullseye | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y build-essential libc-dev && \ | ||
apt-get clean | ||
|
||
RUN npm install -g node-gyp tsx | ||
|
||
WORKDIR /app | ||
|
||
COPY package.json yarn.lock lerna.json nx.json tsconfig.json .yarnrc.yml ./ | ||
|
||
COPY packages/orchestrator/package.json /app/packages/orchestrator/package.json | ||
|
||
COPY packages/contracts-build/package.json /app/packages/contracts-build/package.json | ||
|
||
COPY packages/contracts-sdk/package.json /app/packages/contracts-sdk/package.json | ||
|
||
COPY packages/lib-js/package.json /app/packages/lib-js/package.json | ||
|
||
COPY packages/wasm-sdk/package.json /app/packages/wasm-sdk/package.json | ||
|
||
COPY patches /app/patches | ||
|
||
COPY . . | ||
|
||
COPY .yarn ./.yarn | ||
|
||
COPY .nx ./.nx | ||
|
||
RUN corepack enable | ||
|
||
RUN yarn install | ||
|
||
RUN yarn postinstall | ||
|
||
RUN yarn build | ||
|
||
ENTRYPOINT ["tsx", "packages/orchestrator/src/index.ts"] |
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