Skip to content

Commit 09c5829

Browse files
committed
Convert to tilde dir path
1 parent 14bcca5 commit 09c5829

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/aca/01-deploy-api-to-aca/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ In this module, we will start by creating the first microservice named `ACA Web
1717

1818
- 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 Web API project scaffolded with a single controller.
1919
```shell
20-
dotnet new webapi -o TasksManager.Backend.Api
20+
dotnet new webapi -o TasksTracker.TasksManager.Backend.Api
2121
```
2222

2323
- Next we need to containerize this application, so we can push it to Azure Container Registry as a docker image then deploy it to Azure Container Apps. Start by opening the VS Code Command Palette (++ctrl+shift+p++) and select `Docker: Add Docker Files to Workspace...`
@@ -73,7 +73,7 @@ In this module, we will start by creating the first microservice named `ACA Web
7373
```
7474
- 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.
7575
```shell
76-
cd {YourLocalPath}\TasksTracker.ContainerApps\TasksManager.Backend.Api
76+
cd ~\TasksTracker.ContainerApps\TasksTracker.TasksManager.Backend.Api
7777
dotnet build
7878
```
7979
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.
@@ -177,7 +177,7 @@ We will be using Azure CLI to deploy the Web API Backend to ACA as shown in the
177177
- Build the Web API project on ACR and push the 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 `.csproj`.
178178
179179
```shell
180-
cd {YourLocalPath}\TasksTracker.ContainerApps
180+
cd ~\TasksTracker.ContainerApps
181181
az acr build --registry $ACR_NAME --image "tasksmanager/$BACKEND_API_NAME" --file 'TasksManager.Backend.Api/Dockerfile' .
182182
```
183183
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

Comments
 (0)