Fix Docker setup and add back back an entrypoint

* Also add special deps for argon2 support inside the Alpine image
* Make sure yarn install is triggered

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-04-30 13:16:29 +02:00
parent ff7fd460f0
commit f8ed5cd779
5 changed files with 11 additions and 7 deletions

View File

@@ -117,7 +117,13 @@ defmodule Mobilizon.Mixfile do
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
"ecto.reset": ["ecto.drop", "ecto.setup"],
test: ["ecto.create --quiet", "ecto.migrate", "test"],
"phx.migrate_serve": ["ecto.create --quiet", "ecto.migrate", "phx.server"]
"phx.deps_migrate_serve": [
"deps.get",
"ecto.create --quiet",
"ecto.migrate",
"cmd cd js && yarn install && cd ../",
"phx.server"
]
]
end