1.3_slimWebServer

command
v0.0.0-...-177a8f4 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

README

This will create a much smaller image because we're first building the app and then creating alpine based container

Build the container

docker image build -t testserver .

Start the container

Run in a foreground: docker container run -it -p 8080:8080 testserver

Run in a background: docker container run -d -p 8080:8080 testserver

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