Skip to content

Commit

Permalink
Faster builds with prepared kcabuild image
Browse files Browse the repository at this point in the history
  • Loading branch information
erjadi committed Oct 10, 2020
1 parent f3d17df commit 4c19045
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM golang:latest AS build-go
RUN mkdir /app
FROM erjadi/kcabuild:latest AS build-go
ADD ./src/app/ /app/
WORKDIR /app
RUN go get -d
Expand Down
2 changes: 1 addition & 1 deletion src/app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func main() {
var c = mcwss.Config{HandlerPattern: "/ws", Address: "0.0.0.0:8000"}
server := mcwss.NewServer(&c)

fmt.Println("Listening")
fmt.Println("Listening on port 8000")

// On first connection
server.OnConnection(func(player *mcwss.Player) {
Expand Down

0 comments on commit 4c19045

Please sign in to comment.