Fix building Dockerfile on hosts with different architecture than Docker
See https://erlangforums.com/t/beam-docker-release-github-action-a-github-action-to-build-a-docker-container-from-a-beam-elixir-erlang-release/2090/2
This commit is contained in:
@@ -33,6 +33,7 @@ RUN mix local.hex --force && \
|
|||||||
|
|
||||||
# set build ENV
|
# set build ENV
|
||||||
ENV MIX_ENV="prod"
|
ENV MIX_ENV="prod"
|
||||||
|
ENV ERL_FLAGS="+JPperf true"
|
||||||
|
|
||||||
# install mix dependencies
|
# install mix dependencies
|
||||||
COPY mix.exs mix.lock ./
|
COPY mix.exs mix.lock ./
|
||||||
|
|||||||
Reference in New Issue
Block a user