|
|
|
|
|
by arinlen
1510 days ago
|
|
> "Don't put the app inside Docker", when that's the whole point of Docker. I'm afraid you misread the article. The article mentions that the whole point of a Docker image is to deploy the application, but it "shouldn’t include the actual application code itself". The article is focused on local deployments to test and debug code. The whole point is that the Docker image has everything to run the app, but instead of being forced to rebuild a Docker image every time you touch a source file, you just mount your local workspace and run whatever you wish to run without wasting time rebuilding anything. |
|
I do traffic mostly in compiled languages. But for many dynamic language apps, excluding the source code is not an option.
In terms of skipping image rebuilding for local development, just run the app locally without Docker. That important option should always be available to the developer.