diff --git a/Dockerfile b/Dockerfile index ba8a76b..ce2a434 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,14 +22,14 @@ FROM ${BUILDER_IMAGE} as builder # install build dependencies RUN apt-get update -y && apt-get install -y build-essential git \ - && apt-get clean && rm -f /var/lib/apt/lists/*_* + && apt-get clean && rm -f /var/lib/apt/lists/*_* # prepare build dir WORKDIR /app # install hex + rebar RUN mix local.hex --force && \ - mix local.rebar --force + mix local.rebar --force # set build ENV ENV MIX_ENV="prod" @@ -91,5 +91,5 @@ USER nobody CMD ["/app/bin/server"] # Appended by flyctl -ENV ECTO_IPV6 true -ENV ERL_AFLAGS "-proto_dist inet6_tcp" +#ENV ECTO_IPV6 true +#ENV ERL_AFLAGS "-proto_dist inet6_tcp" diff --git a/rel/env.sh.eex b/rel/env.sh.eex index 39bcbcc..32ddfa9 100644 --- a/rel/env.sh.eex +++ b/rel/env.sh.eex @@ -19,6 +19,6 @@ # export RELEASE_DISTRIBUTION=name # export RELEASE_NODE=<%= @release.name %> -ip=$(grep fly-local-6pn /etc/hosts | cut -f 1) -export RELEASE_DISTRIBUTION=name -export RELEASE_NODE=$FLY_APP_NAME@$ip +#ip=$(grep fly-local-6pn /etc/hosts | cut -f 1) +#export RELEASE_DISTRIBUTION=name +#export RELEASE_NODE=$FLY_APP_NAME@$ip