Make docker use default configs if specific doesn't exist

parent 8d5d0aca
......@@ -12,6 +12,8 @@ COPY rebar3 rebar3
COPY rebar.config rebar.config
COPY rebar.lock rebar.lock
COPY config config
RUN [ ! -f config/prod-sys.config ] && cp config/sys.config.example config/prod-sys.config
RUN [ ! -f config/prod-vm.args ] && cp config/vm.args.example config/prod-vm.args
RUN rebar3 as prod release
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment