java - Docker Image with Mixin of Base Images -


i build docker image uses nodejs , java runtime.

it possible find separate docker files, 1 each base.

how can use 2 bases create new image?

in case, gonna run angular app, , spring app in same image.

any tips on how have single image such requirements? make sense?

if makes sense in case hard judge outside. in general should image 1 thing, run 1 app in particular. seems mixing 2 things in 1 container. if want this, i'd choose "more difficult install" image , choose base image (seems spring image). i'd add packages node.js, should few lines of code. since dockerfiles public, can images , build own image both apps.

but in general sounds need 2 images, 1 angular stuff, 1 spring stuff. can compose these images docker-compose or manually linking them if needed.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -