~robertgzr/greenfy

bcee093bd795b3de7bc3378544d08d4b70c4a2b6 — Robert G├╝nzler 2 years ago ed22191
docker: use asset and ecto aliases
2 files changed, 2 insertions(+), 4 deletions(-)

M docker/Dockerfile
M docker/entrypoint.sh
M docker/Dockerfile => docker/Dockerfile +1 -1
@@ 9,6 9,6 @@ RUN --mount=type=cache,target=/mix-cache \
WORKDIR /app
COPY . /app
RUN --mount=type=cache,target=/mix-cache \
	mix do deps.get --only-prod, compile, phx.digest
	mix do deps.get --only-prod, compile, assets.deploy

CMD ["/app/docker/entrypoint.sh"]

M docker/entrypoint.sh => docker/entrypoint.sh +1 -3
@@ 2,7 2,5 @@

set -x

mix ecto.create
mix ecto.migrate

mix ecto.setup
exec mix phx.server