nvnamsss / streetlity-api

api server
0 stars 0 forks source link

Move config into run container phase instead of build #2

Closed nvnamsss closed 4 years ago

nvnamsss commented 4 years ago

An image could deal with many use cases depend on the purpose and how we config it.

Now config is setting in the build phase, it means config will be added to image then run into a container instead of adding to the container.

nvnamsss commented 4 years ago

Solved by using docker cp $fileinhost $container:$fileindocker to copy config file which is setup by the user in host to the container which out rebuild

Reference: