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/01-deploy-api-to-aca/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
@@ -55,7 +55,7 @@ In this module, we will start by creating the first microservice named `ACA Web
55
55
56
56
=== "Program.cs"
57
57
58
-
```csharp hl_lines="5"
58
+
```csharp hl_lines="1 5"
59
59
using TasksTracker.TasksManager.Backend.Api.Services;
60
60
61
61
var builder = WebApplication.CreateBuilder(args);
@@ -73,7 +73,7 @@ In this module, we will start by creating the first microservice named `ACA Web
73
73
```
74
74
- From VS Code Terminal tab, open developer command prompt or PowerShell terminal and navigate to the parent directory which hosts the `.csproj` project folder and build the project.
75
75
```shell
76
-
cd {YourLocalPath}\TasksTracker.TasksManager.Backend.Api
76
+
cd {YourLocalPath}\TasksTracker.ContainerApps\TasksManager.Backend.Api
77
77
dotnet build
78
78
```
79
79
Make sure that the build is successful and that there are no build errors. Usually you should see a "Build succeeded" message in the terminal upon a successful build.
@@ -178,7 +178,7 @@ We will be using Azure CLI to deploy the Web API Backend to ACA as shown in the
178
178
179
179
```shell
180
180
cd {YourLocalPath}\TasksTracker.ContainerApps
181
-
az acr build --registry $ACR_NAME --image "tasksmanager/$BACKEND_API_NAME" --file 'TasksTracker.TasksManager.Backend.Api/Dockerfile' .
181
+
az acr build --registry $ACR_NAME --image "tasksmanager/$BACKEND_API_NAME" --file 'TasksManager.Backend.Api/Dockerfile' .
182
182
```
183
183
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-backend-api` has been created and there is a new docker image with a `latest` tag is created.
0 commit comments