Dockerizing and Deploying Nuxt.js SSR Apps To AWS ECS

Written by melvinkcx2 | Published 2019/11/10
Tech Story Tags: docker | javascript | aws | nuxtjs | latest-tech-stories | hackernoon-top-story | nodejs | aws-ecs

TLDR There are 2 major ways to dockerize Nuxt.js apps, and each of them has its shortcomings. Nuxt build on run: The Nuxt app is built after Docker image is built, when the container is spawned. The downside of this is the container boot time takes significantly longer as it involves building the artifacts on run. This also violates the build/release/run principle of a 12-factor app. How to safely inject environment variables into Dockerized Nuxt.js on runtime?via the TL;DR App

no story

Written by melvinkcx2 | Software Engineer | Maintainer of fastapi-events
Published by HackerNoon on 2019/11/10