summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorLogan Hunt <logan.hunt@usu.edu>2023-01-31 19:05:01 -0700
committerLogan Hunt <logan.hunt@usu.edu>2023-01-31 19:07:47 -0700
commitb6d4f7044fa9bec32489d0ca5c3392e76ad2c1bc (patch)
treee85b1cb72f437c901f16fa2810ab43d4b62ee9eb /Dockerfile
parentce5f598331b2be3be08cf697a59e8629cc69fe07 (diff)
downloadchessh-b6d4f7044fa9bec32489d0ca5c3392e76ad2c1bc.tar.gz
chessh-b6d4f7044fa9bec32489d0ca5c3392e76ad2c1bc.zip
Elixir cluster!
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"