forked from dfinity/internet-identity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathicp.yaml
More file actions
28 lines (25 loc) · 1.07 KB
/
icp.yaml
File metadata and controls
28 lines (25 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.2.0/docs/schemas/icp-yaml-schema.json
canisters:
# The production build of Internet Identity. For more information, see
# https://github.com/dfinity/internet-identity
- name: internet_identity
build:
steps:
- type: pre-built
url: https://github.com/dfinity/internet-identity/releases/latest/download/internet_identity_production.wasm.gz
# This init arg will disable the captcha during registration
init_args: "(opt record { captcha_config = opt record { max_unsolved_captchas= 50:nat64; captcha_trigger = variant {Static = variant {CaptchaDisabled}}}})"
- name: whoami
recipe:
type: "@dfinity/motoko@v4.0.0"
configuration:
main: whoami.mo
# Canisters using the asset recipe serve files via http_request.
# icp-cli uploads all the files from the specified directory after deployment.
- name: webapp
recipe:
type: "@dfinity/asset-canister@v2.1.0"
configuration:
dir: dist
build:
- npm run build