From ce06ddd669363651d335f5a4c05e1a347020a3c1 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Tue, 24 Jan 2023 12:12:58 -0700 Subject: Redis time --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 80fd412..6ef0845 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,7 @@ RUN mix release # the compiled release and other runtime necessities FROM ${RUNNER_IMAGE} -RUN apt-get update -y && apt-get install -y libstdc++6 openssl libncurses5 locales \ +RUN apt-get update -y && apt-get install -y libstdc++6 openssl libncurses5 locales redis \ && apt-get clean && rm -f /var/lib/apt/lists/*_* # Set the locale @@ -69,7 +69,8 @@ ENV MIX_ENV="prod" COPY --from=builder --chown=nobody:root /app/_build/${MIX_ENV}/rel/chessh ./ COPY --from=builder --chown=nobody:root /app/priv /app/priv -USER nobody +# USER nobody +USER root EXPOSE 8080 EXPOSE 34355 -- cgit v1.2.3-70-g09d2