Merge branch 'gin' into 'master'
Gin See merge request root/esg_report_backend!21
This commit is contained in:
commit
78606f57ae
|
@ -6,5 +6,5 @@ RUN go env -w GO111MODULE=on
|
|||
RUN go env -w GOPROXY=https://goproxy.cn,direct
|
||||
RUN go mod tidy
|
||||
RUN go build -o mains .
|
||||
EXPOSE 9090
|
||||
EXPOSE 51002
|
||||
ENTRYPOINT ["./mains"]
|
|
@ -17,5 +17,5 @@ func InitRouter() {
|
|||
toC.POST("/issue", Controllers.SetNews)
|
||||
}
|
||||
|
||||
router.Run(":9090")
|
||||
router.Run(":51002")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue