[Enhancement] Improve Dockerfile permissions (#157)

* Updated dockerfile

* added a healthcheck
This commit is contained in:
Kieran
2024-04-01 18:56:03 -07:00
committed by GitHub
parent 2f9abe86b4
commit f9c2f7b8f2
4 changed files with 30 additions and 16 deletions
@@ -0,0 +1,9 @@
defmodule PinchflatWeb.HealthController do
use PinchflatWeb, :controller
def check(conn, _params) do
conn
|> put_status(:ok)
|> json(%{status: "ok"})
end
end