HackerNoon Mobile

Better reading experience on the app
Dockerizing and Deploying Nuxt.js SSR Apps To AWS ECSby@melvinkcx2
711 reads

Dockerizing and Deploying Nuxt.js SSR Apps To AWS ECS

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

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?

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Dockerizing and Deploying Nuxt.js SSR Apps To AWS ECS
Melvin Koh HackerNoon profile picture

@melvinkcx2

Melvin Koh


Receive Stories from @melvinkcx2

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!