Compare commits
2 Commits
8c04e7ace5
...
f26cf6404e
| Author | SHA1 | Date | |
|---|---|---|---|
| f26cf6404e | |||
| 7f867b02d6 |
@@ -11,7 +11,12 @@ func main() {
|
||||
fmt.Println("Welcome to lst backend where all the fun happens.")
|
||||
r := gin.Default()
|
||||
|
||||
r.GET("/", errorLoc)
|
||||
|
||||
r.GET("/api/ping", func(c *gin.Context) {
|
||||
c.JSON(200, gin.H{"message": "pong"})
|
||||
})
|
||||
|
||||
r.Any("/", errorLoc)
|
||||
r.Run(":8080")
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Write-Host "Building the docker images for front and backend"
|
||||
docker build -t logistics_support_tool:frontend-latest -f ../frontend/Dockerfile ../frontend
|
||||
docker build -t logistics_support_tool:backend-latest -f ../backend/Dockerfile ../backend
|
||||
docker build -t logistics_support_tool:frontend-latest -f ../frontend/Dockerfile --no-cache ../frontend
|
||||
docker build -t logistics_support_tool:backend-latest -f ../backend/Dockerfile --no-cache ../backend
|
||||
|
||||
Write-Host "Tagging the builds with latest this is for testing test basically."
|
||||
docker tag logistics_support_tool:frontend-latest git.tuffraid.net/cowch/logistics_support_tool:frontend-latest
|
||||
|
||||
Reference in New Issue
Block a user