aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile13
-rw-r--r--main.go2
2 files changed, 1 insertions, 14 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index c9def5f..0000000
--- a/Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
-GO_BUILD_ENV := CGO_ENABLED=0 GOOS=linux GOARCH=amd64
-DOCKER_BUILD=$(shell pwd)/.docker_build
-DOCKER_CMD=$(DOCKER_BUILD)/go-getting-started
-
-$(DOCKER_CMD): clean
- mkdir -p $(DOCKER_BUILD)
- $(GO_BUILD_ENV) go build -v -o $(DOCKER_CMD) .
-
-clean:
- rm -rf $(DOCKER_BUILD)
-
-heroku: $(DOCKER_CMD)
- heroku container:push web
diff --git a/main.go b/main.go
index 965f426..c9d0e56 100644
--- a/main.go
+++ b/main.go
@@ -11,7 +11,7 @@ func main() {
r.Use(gin.Logger())
r.Use(static.Serve("/",
- static.LocalFile("./../build", true)))
+ static.LocalFile("./build", true)))
r.Run(":" + os.Getenv("PORT"))
}