-
Notifications
You must be signed in to change notification settings - Fork 15
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
7 changed files
with
1,663 additions
and
782 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 |
---|---|---|
|
@@ -18,7 +18,6 @@ node_modules | |
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
.yarn | ||
.vite | ||
/**/.vscode | ||
|
||
|
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 |
---|---|---|
|
@@ -5,6 +5,10 @@ ARG NODE_IMAGE=node:18-slim | |
|
||
# Build frontend | ||
FROM ${NODE_IMAGE} AS frontend | ||
|
||
# Enable Corepack and prepare Yarn 3.6.3 | ||
RUN corepack enable && corepack prepare [email protected] --activate | ||
|
||
WORKDIR /frontend | ||
COPY ./compliant-reward-distribution/frontend ./ | ||
RUN yarn | ||
|
874 changes: 874 additions & 0 deletions
874
compliant-reward-distribution/frontend/.yarn/releases/yarn-3.6.3.cjs
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 +1,2 @@ | ||
yarnPath: .yarn/releases/yarn-3.6.3.cjs | ||
nodeLinker: node-modules |
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.
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 |
---|---|---|
|
@@ -12,6 +12,9 @@ COPY ./sponsoredTransactionsAuction/frontend/src ./src | |
COPY ./sponsoredTransactionsAuction/frontend/index.html ./index.html | ||
COPY ./sponsoredTransactionsAuction/frontend/generated ./generated | ||
|
||
# Enable Corepack and prepare Yarn 3.6.3 | ||
RUN corepack enable && corepack prepare [email protected] --activate | ||
|
||
RUN yarn | ||
RUN yarn build | ||
|
||
|