Current section
Files
Jump to
Current section
Files
priv/templates/release.Dockerfile.eex
FROM <%= base_image %>
ENV DEBIAN_FRONTEND=noninteractive MIX_ENV=<%= mix_env %>
COPY <%= build_output_path_relative %>/app/ /opt/app/
<%= for release_extra_docker_command <- release_extra_docker_commands do %>
<%= release_extra_docker_command %>
<% end %>
HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 \
CMD ["/opt/app/bin/<%= rel_name %>", "ping"]
ENTRYPOINT ["/opt/app/bin/<%= rel_name %>", "foreground"]