Skip to content

FlyingJ/goserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goserver

A basic HTTP server written in Go. Originally, part of the Boot.dev Learning Docker course, it is being elevated as part of the Boot.dev Learning HTTP Servers in Go course.

build

$ go build

build container image

$ docker build . --tag [TAG]

run

$ GOSERVER_ROOT="./public" GOSERVER_PORT="8080" goserver

run in a container

$ docker run --detach --publish="8080:8080" --volume="./public:/var/run/goserver/public" --name local-goserver [TAG|IMAGE ID]

About

Simple HTTP server written in go. Part of Boot.dev Learning Docker course.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors