mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-21 14:49:33 +02:00
13 lines
395 B
Text
13 lines
395 B
Text
FROM internetee/erlang-ruby:21.3.8-2.6.3 AS build
|
|
COPY . ./scr/
|
|
|
|
WORKDIR /opt/erlang/epp_proxy/scr
|
|
|
|
RUN rebar3 as prod release
|
|
|
|
FROM internetee/erlang-ruby:21.3.8-2.6.3
|
|
LABEL org.opencontainers.image.source=https://github.com/internetee/epp_proxy
|
|
|
|
|
|
COPY --from=build /opt/erlang/epp_proxy/scr/_build/prod/rel/epp_proxy ./release
|
|
RUN ln -s /opt/erlang/epp_proxy/release/bin/epp_proxy ./epp_proxy
|