diff options
author | Logan Hunt <logan.hunt@usu.edu> | 2023-01-24 12:12:58 -0700 |
---|---|---|
committer | Logan Hunt <logan.hunt@usu.edu> | 2023-01-24 12:14:07 -0700 |
commit | ce06ddd669363651d335f5a4c05e1a347020a3c1 (patch) | |
tree | 74e60d55d9c7eaa42b269a6d59de43c86fdb9b77 /Dockerfile | |
parent | a634901317de06ca09f3d78b3d0205c4d19df0cf (diff) | |
download | chessh-ce06ddd669363651d335f5a4c05e1a347020a3c1.tar.gz chessh-ce06ddd669363651d335f5a4c05e1a347020a3c1.zip |
Redis time
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |