diff --git a/Dockerfile b/Dockerfile index a428224..53d55b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,7 @@ RUN printf '#!/bin/sh\n\n' > /entrypoint.sh && \ chmod +x /entrypoint.sh COPY watchTV.sh /app/watchTV.sh +COPY frontend.html /app/index.html COPY .botenv /app/.botenv RUN chmod +x /app/watchTV.sh && \ echo "0 0 * * * /app/watchTV.sh" > /etc/crontabs/root diff --git a/frontend.html b/frontend.html new file mode 100644 index 0000000..3d3d35d --- /dev/null +++ b/frontend.html @@ -0,0 +1,120 @@ + + + + + + + + Alaskar Bump'n'Deploy + + + +
+

Alaskar Bump'n'Deploy

+
+ + + +
+
+
+
+ + + + + diff --git a/main.go b/main.go index 82d9a3c..c37ad31 100644 --- a/main.go +++ b/main.go @@ -238,6 +238,9 @@ func main() { }) router.POST("/notify", notifyHandler) + router.GET("/", func(c *gin.Context) { + c.File("frontend.html") + }) fmt.Println("Webhook server running on port 8080") router.Run(":8080")