Skip to content

Commit

Permalink
Update Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Aif4thah committed Nov 8, 2024
1 parent 6caa354 commit 4df98e1
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,11 @@ cd .\VulnerableLightApp\
```


## 🔧 Build
## 🔧🔥 Build and Run

```PowerShell
dotnet build
```


## 🔥 Run
You can use **Dotnet** or **Docker**

### Dotnet

```PowerShell
dotnet run [--url=<url>]
Expand All @@ -90,17 +86,24 @@ dotnet run [--url=<url>]
Alternatively, you can use bin files :

```PowerShell
dotnet build
.\bin\Debug\net8.0\VulnerableWebApplication.exe [--url=<url>]
```


## Docker
### Docker

```bash
docker build -t VulnerableLightApp
docker run VulnerableLightApp -p 3000:3000
docker build -t vulnerablelightapp .
docker run -p 3000:3000 vulnerablelightapp
```

### first request

Default : `127.0.0.1:3000`

```sh
curl -k https://127.0.0.1:3000
```


## 🛠️ Debug
Expand Down

0 comments on commit 4df98e1

Please sign in to comment.