summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 3d85542..acd4a26 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -62,6 +62,10 @@ ENV LC_ALL en_US.UTF-8
WORKDIR "/app"
RUN chown nobody /app
+# set OTP_ROOT so elixir can find nodes
+ENV OTP_ROOT=/app
+COPY .hosts.erlang /app/.hosts.erlang
+
# set runner ENV
ENV MIX_ENV="prod"