#nodejs
Docker sounds complicated until you understand Image vs Container 🐳 🧊 Image = a read-only snapshot containing your app + runtime + dependencies. 📦 Container = a running instance of that image. For a real Node.js app, the basic Docker workflow is: 1️⃣ Install Docker Desktop / Docker Engine 2️⃣ Create a Dockerfile 3️⃣ Choose a base image with FROM 4️⃣ Set the working directory with WORKDIR 5️⃣ Copy dependencies first for better layer caching 6️⃣ Install them with RUN npm install 7️⃣ Copy your source code 8️⃣ Document the port with EXPOSE 9️⃣ Start the app with CMD 🔟 Build → docker build 1️⃣1️⃣ Run → docker run And don’t forget .dockerignore to keep things like node_modules and environment files out of your image. Build once. Run anywhere. Same environment every time. 🚀 #Docker #DockerContainers #DevOps #NodeJS #Containerization
algorithmswithpeter59,200 просмотров • 2 месяцев назад

Node Congress returns on Apr. 4-5, 2024! 🔍Dive into JS backend runtimes with 25+ experts 🤝Connect with top industry devs & OS contributors 🌐Explore best practices in #NodeJS, #Bun, #Deno, #CloudflareWorkers Online, Early Birds are on sale🎟️
Node Congress🔥March 26 & 27, 2026412,256 просмотров • 3 лет назад
Nosso querido uncle bob deixou algumas pistas de como vamos sobreviver a era da IA aumentando a qualidade do nosso trabalho atraves de metricas especificas. Expliquei o que é complexidade ciclomática e como você pode aplicar nos seus projetos! #desenvolvedor #vibecode #ia #typescript #dev #programador #nodejs #javascript #prompt #layoff
emanoel.tech28,400 просмотров • 5 месяцев назад
Больше нет контента для загрузки



