Skip to content

Commit 2c16874

Browse files
authored
Add command to YAML and JSON
microsoft/azure-container-apps#570
1 parent 05803b6 commit 2c16874

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

articles/container-apps/azure-resource-manager-api-spec.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@ The following example ARM template deploys a container app.
278278
"secretRef": "mysecret"
279279
}
280280
],
281+
"command": [
282+
"npm",
283+
"start"
284+
],
281285
"resources": {
282286
"cpu": 0.5,
283287
"memory": "1Gi"
@@ -392,7 +396,7 @@ properties:
392396
registries:
393397
- passwordSecretRef: myregistrypassword
394398
server: myregistry.azurecr.io
395-
username: myregistrye
399+
username: myregistry
396400
dapr:
397401
appId: mycontainerapp
398402
appPort: 80
@@ -408,6 +412,9 @@ properties:
408412
value: 80
409413
- name: secret_name
410414
secretRef: mysecret
415+
command:
416+
- npm
417+
- start
411418
resources:
412419
cpu: 0.5
413420
memory: 1Gi

0 commit comments

Comments
 (0)