9-deploy

command module
v0.0.0-...-ac7aa70 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 1 Imported by: 0

README

Executando projeto localmente com docker

No terminal 1:

docker-compose up -d

docker-compose exec goapp bash

go run main.go

No terminal 2:

curl http://localhost:8080

Gerando imagem docker para produção

No terminal:

docker build -t janainamai/learning-go/9-deploy:latest -f Dockerfile.prod .

docker run --rm -p 8080:8080 janainamai/learning-go/9-deploy:latest

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL