I've got a local application working using docker-compose up
, this gets me the servers I need and they function just fine locally.
Now I've tried getting a build.sh
started, but I can't figure out how to build a docker image using either docker-compose
or just regular docker-cli
with the final result of the build process. (The /dist/
folder).
Could somebody explain to me how a regular process like this would look like, and what steps a build process would walk through in docker terms? Would I need a seperate command to package it for deployment? Is there a separate configuration required?