Skip to content

Commit 5842161

Browse files
984774: Update smart pdfviewer changes
1 parent 74d2e77 commit 5842161

File tree

1 file changed

+11
-18
lines changed

1 file changed

+11
-18
lines changed

Document-Processing/PDF/Smart-PDF-Viewer/blazor/deployment/dockerImage-hosting-guide.md

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,18 @@ The following software requirements are necessary to run document processing API
2727
- Web browser: Microsoft Edge, Mozilla Firefox, or Google Chrome
2828

2929
## Steps to configure and run docker container
30-
### Step1:
31-
Install the Rancher desktop application from the official release page: [Rancher Desktop](https://github.com/rancher-sandbox/rancher-desktop/releases)
3230

33-
### Step2:
34-
Open the Rancher Desktop application and select the displayed option.
31+
- **Step 1**: Install the Rancher desktop application from the official release page: [Rancher Desktop](https://github.com/rancher-sandbox/rancher-desktop/releases)
32+
33+
- **Step 2**: Open the Rancher Desktop application and select the displayed option.
3534
![Docker engine selection in Rancher Desktop](../images/docker-moby.png)
3635

37-
### Step3:
38-
Create a Smart Pdf Viewer web app sample by following the [documentation](https://help.syncfusion.com/document-processing/pdf/smart-pdf-viewer/blazor/getting-started/web-app).
36+
- **Step 3**: Create a Smart Pdf Viewer web app sample by following the [documentation](https://help.syncfusion.com/document-processing/pdf/smart-pdf-viewer/blazor/getting-started/web-app).
3937

40-
### Step4:
41-
Right-click the Smart PDF Viewer web app sample to add Docker support with Linux.
38+
- **Step 4**: Right-click the Smart PDF Viewer web app sample to add Docker support with Linux.
4239
![Add Docker support in project](../images/add-docker-support.png)
4340

44-
### Step5:
45-
Once the Docker file is added, open the Docker file and add the following line.
41+
- **Step 5**: Once the Docker file is added, open the Docker file and add the following line.
4642

4743
{% tabs %}
4844
{% highlight c# tabtitle="Dockerfile" hl_lines="2 4 6" %}
@@ -67,14 +63,13 @@ EXPOSE 8081
6763
{% endtabs %}
6864

6965
![Line to add in Dockerfile](../images/line-to-add-docker.png)
66+
7067
N> Remove the `User` if not needed or change the User type to `root` to provide elevated privileges.
7168

72-
### Step6:
73-
Publish the image by building the DockerFile.
69+
- **Step 6**: Publish the image by building the DockerFile.
7470
![Build Dockerfile in IDE](../images/build-docker.png)
7571

76-
### Step7:
77-
Open the command prompt or PowerShell and enter the following command to list the published Docker images.
72+
- **Step 7**: Open the command prompt or PowerShell and enter the following command to list the published Docker images.
7873

7974
{% tabs %}
8075
{% highlight c# tabtitle="Docker Image" %}
@@ -84,8 +79,7 @@ docker image ls
8479
{% endhighlight %}
8580
{% endtabs %}
8681

87-
### Step8:
88-
To check the published images locally, run the below command which is in the format docker run -d -p 6001:{exposed Port} {Image ID}.
82+
- **Step 8**: To check the published images locally, run the below command which is in the format docker run -d -p 6001:{exposed Port} {Image ID}.
8983

9084
{% tabs %}
9185
{% highlight c# tabtitle="Docker Run" %}
@@ -95,8 +89,7 @@ docker run -d -p 6001:8080 4eead1aaf7a5
9589
{% endhighlight %}
9690
{% endtabs %}
9791

98-
### Step9:
99-
Ensure the published image runs as expected by navigating to the hosted link `http://localhost:6001/`.
92+
- **Step 9**: Ensure the published image runs as expected by navigating to the hosted link `http://localhost:6001/`.
10093

10194
## See also
10295

0 commit comments

Comments
 (0)