baseline-golang-app

command module
v0.0.0-...-8bda5c3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 4 Imported by: 0

README

baseline-golang-app

1. Build the Docker images

docker build --target development -t baseline-golang-app:dev -f Dockerfile . --progress=plain
docker build --target production  -t baseline-golang-app:prod -f Dockerfile . --progress=plain

2. Run the Docker images

docker run -d --name baseline-golang-app-dev -p 1323:1323 baseline-golang-app:dev
docker run -d --name baseline-golang-app-prod -p 1323:1323 baseline-golang-app:prod

3. Test the application

curl http://localhost:1323

test

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