1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

Update dockerfile and server for app dir

This commit is contained in:
Michael Crosby 2013-06-23 08:38:48 -09:00
parent 877effc6ad
commit 40435f898f
2 changed files with 3 additions and 8 deletions

View file

@ -6,7 +6,6 @@ import (
"github.com/elazarl/goproxy"
"log"
"net/http"
"os"
"strings"
)
@ -66,12 +65,7 @@ func main() {
path := fmt.Sprintf(":%s", *port)
cwd, err := os.Getwd()
if err != nil {
log.Fatal(err)
}
handler := createHandler(cwd)
handler := createHandler("/app")
log.Fatal(http.ListenAndServe(path, handler))
}