You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/aca/02-aca-comm/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ In this module, we will add a service named `ACA Web API – Frontend` as illust
11
11
12
12
- Open a command-line terminal and navigate to root folder of your project.
13
13
```shell
14
-
cd{YourLocalPath}\TasksTracker.ContainerApps
14
+
cd~\TasksTracker.ContainerApps
15
15
```
16
16
17
17
- From VS Code Terminal tab, open developer command prompt or PowerShell terminal in the project folder `TasksTracker.ContainerApps` and initialize the project. This will create and ASP.NET Razor Pages web app project.
@@ -136,7 +136,7 @@ This variable will contain the Base URL for the backend API deployed in the prev
136
136
- From VS Code Terminal tab, open developer command prompt or PowerShell terminal and navigate to the frontend directory which hosts the `.csproj` project folder and build the project.
137
137
138
138
```shell
139
-
cd {YourLocalPath}\TasksTracker.ContainerApps\TasksTracker.WebPortal.Frontend.Ui
139
+
cd ~\TasksTracker.ContainerApps\TasksTracker.WebPortal.Frontend.Ui
- Now we will build and push the Web App project docker image to ACR. Use the below command to initiate the image build and push process using ACR. The `.` at the end of the command represents the docker build context. In our case, we need to be on the parent directory which hosts the .csproject.
153
153
154
154
```powershell
155
-
cd {YourLocalPath}\TasksTracker.ContainerApps
155
+
cd ~\TasksTracker.ContainerApps
156
156
az acr build --registry $ACR_NAME --image "tasksmanager/$FRONTEND_WEBAPP_NAME" --file 'TasksTracker.WebPortal.Frontend.Ui/Dockerfile' .
157
157
```
158
158
Once this step is completed you can verify the results by going to the Azure portal and checking that a new repository named `tasksmanager/tasksmanager-frontend-webapp` has been created and there is a new docker image with a `latest` tag is created.
0 commit comments