iam-veeramalla / Docker-Zero-to-Hero

Repo to learn Docker with examples. Contributions are most welcome.
https://www.youtube.com/@AbhishekVeeramalla
4.01k stars 8.04k forks source link

add flag to avoid build failure #76

Open vedanthv opened 4 months ago

vedanthv commented 4 months ago

@iam-veeramalla ran into an error while building from the dockerfile. It occurred due to usage of pip and apt in same docker file. Adding the flag fixes this problem.

Not recommended in prod environment, its more like a quick fix. Other way would be to create a virtual environment before building.