Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardoKroetz authored Jul 16, 2024
1 parent 0246dff commit d2d7b65
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,24 @@
<li><a href="https://dotnet.microsoft.com/pt-br/">.NET 8</a></li>
<li><a href="https://github.com">Git 2</a></li>
</ul>

<h3>Executando de uma imagem Docker</h3>
<p>Baixe a imagem docker executando</p>

```bash
docker pull eduardokroetz/aspnet-hotelsystem-api:1.0
```

<p>Feito isso, apenas execute essa imagem com</p>

```bash
docker run -p 8080:8080 eduardokroetz/aspnet-hotelsystem-api:1.0
```

<p>Isso vai rodar a API em http://localhost:8080/swagger/index.html</p>
<p>Obs: Executar a API através do Docker é muito mais fácil, mas ainda requer que você configure o appsettings.json com as variáveis de ambiente.</p>


<h3 id="cloning">Cloning</h3>
<p>Para clonar o projeto, basta executar o seguinte comando no terminal:</p>

Expand Down

0 comments on commit d2d7b65

Please sign in to comment.