docker release let's go

This commit is contained in:
2024-05-27 00:48:54 +02:00
parent ff54a9e22d
commit e1457d28d6
8 changed files with 193 additions and 0 deletions

10
make_release.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
set -e
export SECRET_KEY_BASE=$(mix phx.gen.secret)
export DATABASE_URL=ecto://postgres:postgres@localhost/something_erlang_dev
mix deps.get --only prod
MIX_ENV=prod mix assets.deploy
MIX_ENV=prod mix compile
mix phx.gen.release --docker