-
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.
commit 75291d6 Author: andresfv95 <[email protected]> Date: Sat Feb 15 15:35:06 2025 -0500 fix: update message thread on events (#79) commit 117abdb Author: andresfv95 <[email protected]> Date: Wed Feb 12 17:36:53 2025 -0500 fix: Updated Yarn to v3.6.4 and updated CI/CD configuration file (#90) commit 0b95415 Author: andresfv95 <[email protected]> Date: Wed Feb 12 15:57:38 2025 -0500 fix: Updated Yarn to v3.6.4 and updated CI/CD configuration file (#89) commit cc2743b Author: andresfv95 <[email protected]> Date: Wed Feb 12 15:43:00 2025 -0500 fix: Updated Yarn to v3.6.4 and updated CI/CD configuration file (#88) commit c32c831 Author: andresfv95 <[email protected]> Date: Wed Feb 12 15:34:39 2025 -0500 fix: Updated Yarn to v3.6.4 and updated CI/CD configuration file (#87) commit 00bba87 Author: andresfv95 <[email protected]> Date: Wed Feb 12 14:27:59 2025 -0500 fix: Updated Yarn to v3.6.4 and updated CI/CD configuration file (#86) commit d6dae0b Author: andresfv95 <[email protected]> Date: Wed Feb 12 13:49:48 2025 -0500 fix: Updated Yarn to v3.6.4 and updated CI/CD configuration file (#85) commit cffd45f Author: andresfv95 <[email protected]> Date: Wed Feb 12 13:41:32 2025 -0500 Fix/yarn deploy packages (#84) commit 2e79926 Author: andresfv95 <[email protected]> Date: Wed Feb 12 13:15:55 2025 -0500 fix: Updated Yarn to v3.6.4 and updated CI/CD configuration file (#83) commit d6f1eb6 Author: andresfv95 <[email protected]> Date: Wed Feb 12 12:48:20 2025 -0500 fix: Updated Yarn to v3.6.4 and updated CI/CD configuration file (#82) commit 5b71ced Author: andresfv95 <[email protected]> Date: Wed Feb 12 04:31:42 2025 -0500 fix: update Yarn to v3.6.4 and CI/CD configuration file (#81) commit d92adba Author: andresfv95 <[email protected]> Date: Mon Feb 10 16:09:35 2025 -0500 test: add unit tests (#77)
- Loading branch information
1 parent
704cbad
commit 174fca2
Showing
33 changed files
with
26,739 additions
and
15,758 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs | ||
spec: "@yarnpkg/plugin-version" | ||
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs | ||
spec: "@yarnpkg/plugin-workspace-tools" | ||
|
||
yarnPath: .yarn/releases/yarn-3.6.4.cjs |
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,10 +1,17 @@ | ||
FROM node:20 as base | ||
|
||
# Setup yarn version | ||
RUN corepack enable | ||
RUN yarn set version 3.6.4 | ||
RUN corepack prepare [email protected] --activate | ||
|
||
# AFJ specifc setup | ||
WORKDIR /www | ||
ENV RUN_MODE="docker" | ||
|
||
COPY package.json yarn.lock ./ | ||
COPY package.json yarn.lock .yarnrc.yml ./ | ||
COPY .yarn/releases/ .yarn/releases/ | ||
COPY .yarn/plugins/ .yarn/plugins/ | ||
|
||
COPY packages/model/package.json packages/model/package.json | ||
COPY packages/main/package.json packages/main/package.json | ||
|
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -1,6 +1,17 @@ | ||
FROM node:18 as base | ||
|
||
COPY package.json yarn.lock tsconfig.json tsconfig.build.json ./ | ||
# Setup yarn version | ||
RUN corepack enable | ||
RUN yarn set version 3.6.4 | ||
RUN corepack prepare [email protected] --activate | ||
|
||
# AFJ specifc setup | ||
WORKDIR /www | ||
ENV RUN_MODE="docker" | ||
|
||
COPY package.json yarn.lock tsconfig.json tsconfig.build.json .yarnrc.yml ./ | ||
COPY .yarn/releases/ .yarn/releases/ | ||
COPY .yarn/plugins/ .yarn/plugins/ | ||
COPY packages/model/package.json packages/model/package.json | ||
COPY packages/client/package.json packages/client/package.json | ||
|
||
|
@@ -21,22 +32,15 @@ FROM base as final | |
WORKDIR /www | ||
ENV RUN_MODE="docker" | ||
|
||
COPY examples/chatbot/package.json examples/chatbot/package.json | ||
COPY examples/chatbot/yarn.lock examples/chatbot/yarn.lock | ||
COPY examples/chatbot/ examples/chatbot/ | ||
|
||
# Run install after copying only depdendency file | ||
# to make use of docker layer caching | ||
COPY --from=base packages/model/build /www/packages/model/build | ||
COPY --from=base packages/client/build /www/packages/client/build | ||
RUN yarn --cwd examples/chatbot install | ||
|
||
|
||
# Copy other depdencies | ||
COPY examples/chatbot/index.ts examples/chatbot/index.ts | ||
COPY examples/chatbot/data.ts examples/chatbot/data.ts | ||
COPY examples/chatbot/phone-cred-def-dev.json examples/chatbot/phone-cred-def-dev.json | ||
COPY examples/chatbot/tsconfig.json examples/chatbot/tsconfig.json | ||
COPY --from=base /www/packages ./packages | ||
WORKDIR /www/examples/chatbot | ||
RUN yarn install | ||
RUN yarn build | ||
|
||
RUN yarn --cwd examples/chatbot build | ||
COPY examples/chatbot/public examples/chatbot/build/public | ||
CMD yarn --cwd examples/chatbot start | ||
WORKDIR /www/examples/chatbot | ||
CMD yarn start |
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.