[Enhancement] Improve Dockerfile permissions (#157)

* Updated dockerfile

* added a healthcheck
This commit is contained in:
Kieran authored and GitHub committed 2024-04-01 18:56:03 -07:00
1 parent 2f9abe86b4
commit f9c2f7b8f2
4 files changed
+30 -16

No files matched your search

+7
View File
@@ -47,6 +47,13 @@ defmodule PinchflatWeb.Router do
get "/media/:uuid/stream", MediaItems.MediaItemController, :stream
end
# No auth or CSRF protection for the health check endpoint
scope "/", PinchflatWeb do
pipe_through :api
get "/healthcheck", HealthController, :check
end
scope "/dev" do
pipe_through :browser