Prod packaging v1 (#23)

* Sets media directory for prod

* Improved logging; Added docker files for prod

* Improved fetching SECRET_KEY_BASE for selfhosted instances
This commit is contained in:
Kieran
2024-02-16 18:50:00 -08:00
committed by GitHub
parent b81c8d64b3
commit 1f56db01a5
13 changed files with 234 additions and 16 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
/app/bin/migrate
cd -P -- "$(dirname -- "$0")"
PHX_SERVER=true exec ./pinchflat start
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
cd -P -- "$(dirname -- "$0")"
exec ./pinchflat eval Pinchflat.Release.migrate