internetee-epp_proxy/Dockerfile.release
Keijo Raamat 71a01d0606
Containerize proxy (#51)
* Added dockerfile with all files and build pipeline
* Trigger base image build on tool version change

The release image from dockerfile should be builded when correct config files are present.
2021-09-30 16:02:17 +03:00

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