[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,10 @@
defmodule PinchflatWeb.HealthControllerTest do
use PinchflatWeb.ConnCase
describe "GET /healthcheck" do
test "returns ok", %{conn: conn} do
conn = get(conn, "/healthcheck")
assert json_response(conn, 200) == %{"status" => "ok"}
end
end
end