Skip to content

Commit 46d24fe

Browse files
fix: Dev container issue
1 parent 67ff54b commit 46d24fe

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"UV_LINK_MODE": "copy",
5252
"UV_PROJECT_ENVIRONMENT": "/home/vscode/.venv"
5353
},
54-
"postCreateCommand": "sed -i 's/\r$//' ./setupEnv.sh && sh ./setupEnv.sh",
54+
"postCreateCommand": "sed -i 's/\r$//' ./.devcontainer/setupEnv.sh && sh ./.devcontainer/setupEnv.sh",
5555
"remoteEnv": {
5656
"PYTHONPATH": "/home/vscode/.venv/bin"
5757
}

infra/main.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ param minReplicaContainerWeb int = 1
6969
@description('Maximum number of replicas to be added for Container Web App')
7070
param maxReplicaContainerWeb int = 1
7171

72+
@description('Set this flag to true only if you are deplpoying from Local')
7273
param useLocalBuild string = 'false'
7374

7475
var containerImageEndPoint = 'cpscontainerreg.azurecr.io'

infra/main.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "7836259803917307200"
8+
"templateHash": "5460303258397320349"
99
}
1010
},
1111
"parameters": {
@@ -124,7 +124,10 @@
124124
},
125125
"useLocalBuild": {
126126
"type": "string",
127-
"defaultValue": "false"
127+
"defaultValue": "false",
128+
"metadata": {
129+
"description": "Set this flag to true only if you are deplpoying from Local"
130+
}
128131
}
129132
},
130133
"variables": {

0 commit comments

Comments
 (0)