| ADD file:574b112227f85a83f5d80d2523398640537475d2a56fa4c622397c466c0b552b in / |
| CMD ["bash"] |
| RUN /bin/sh -c apt-get update -y && apt-get install -y libstdc++6 openssl libncurses5 locales ca-certificates && apt-get clean && rm -f /var/lib/apt/lists/*_* # buildkit |
| RUN /bin/sh -c sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen # buildkit |
| ENV LANG=en_US.UTF-8 |
| ENV LANGUAGE=en_US:en |
| ENV LC_ALL=en_US.UTF-8 |
| WORKDIR /app |
| RUN /bin/sh -c chown nobody /app # buildkit |
| ENV MIX_ENV=prod |
| COPY --chown=nobody:root /app/_build/prod/rel/prod ./ # buildkit |
| USER nobody |
| ENTRYPOINT ["/app/bin/prod"] |