Skip to content

Commit

Permalink
Migrate Go-helloworld port to 6112
Browse files Browse the repository at this point in the history
  • Loading branch information
Thitiwat Watanajaturaporn committed Oct 24, 2023
1 parent 4aaf558 commit c5ef7dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exercises/go-helloworld/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ ADD . .

RUN go mod init && go build -o helloworld

EXPOSE 6111
EXPOSE 6112

CMD ["./helloworld"]
2 changes: 1 addition & 1 deletion exercises/go-helloworld/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ func helloWorld(w http.ResponseWriter, r *http.Request){

func main() {
http.HandleFunc("/", helloWorld)
http.ListenAndServe(":6111", nil)
http.ListenAndServe(":6112", nil)
}

0 comments on commit c5ef7dd

Please sign in to comment.