Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
raissabrizeno authored Aug 10, 2024
1 parent 348e51c commit e7ae069
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions exercicios/para-sala/users-api-aula/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,16 @@ CMD ["npm", "start"]

```

- Buildando a aplicação em docker local:
- Buildando a imagem da aplicação em docker local com tag:

```sh
docker run -p 3000:3000 minha-aplicacao
docker build -t aula-devops:1.0.0 .
```
Executando a aplicação em container docker local:

```sh
docker run -p 3000:3000 minha-aplicacao
```
- Construindo um pipeline para a aplicação no Git Acctions que faz push para o Docker Hub:

- Crie as secrets que vai usar no projeto. *Settings* > *secrets and variables* > clique em *New repository secret* > *Add Secret*. Faça isso com todas que for usar no pipeline.
Expand Down

0 comments on commit e7ae069

Please sign in to comment.