mirror of
https://github.com/valitydev/dominant.git
synced 2024-11-06 02:25:17 +00:00
Set up basic env vars to tell BEAM that stdio is UTF-8-ready
This commit is contained in:
parent
83565227dd
commit
4b8f9930fb
@ -8,6 +8,8 @@ RUN rebar3 as prod release
|
|||||||
# Keep in sync with Erlang/OTP version in build image
|
# Keep in sync with Erlang/OTP version in build image
|
||||||
FROM erlang:24.1.3.0-slim
|
FROM erlang:24.1.3.0-slim
|
||||||
ENV SERVICE=dominant
|
ENV SERVICE=dominant
|
||||||
|
ENV CHARSET=UTF-8
|
||||||
|
ENV LANG=C.UTF-8
|
||||||
COPY --from=builder /build/_build/prod/rel/${SERVICE} /opt/${SERVICE}
|
COPY --from=builder /build/_build/prod/rel/${SERVICE} /opt/${SERVICE}
|
||||||
WORKDIR /opt/${SERVICE}
|
WORKDIR /opt/${SERVICE}
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
Loading…
Reference in New Issue
Block a user