-
Learning multiple languages
Learning multiple languages isn’t actually as easy as people think. Most of the senior developers I know with multiple languages under their belt all have one thing in common. They all started off with a single language. They mastered one language. Then moved to another language. But still, there’s ONE important detail missing. Nobody talks…
-
Docker how to read values from an .env file
There’s an easy way to read info from env file. It’s quite useful when you don’t want to pass info via CLI or hard code the it in Dockerfile or compose.yaml. Basically create an .env file in root of your project near compose.yaml Example of .env: And finally within compose.yaml you can read the value…
-
Docker RUN vs ENTRYPOINT
So here’s my attempt in explaining the difference between the three! RUN executes during the container build ie. RUN apt-get install mysql-server CMD CMD is when you want to execute something AFTER container has been built. ie. CMD [“app.py”, “start”]. Make this clear for yourself, any command, server, or service that must run AFTER the…
-
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!