Dockerizing and Deploying Nuxt.js SSR Apps To AWS ECSby@melvinkcx2
774 reads
774 reads

Dockerizing and Deploying Nuxt.js SSR Apps To AWS ECS

by Melvin Koh4mNovember 10th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Melvin Koh

Melvin Koh

@melvinkcx2

Software Engineer | Maintainer of fastapi-events

About @melvinkcx2
LEARN MORE ABOUT @MELVINKCX2'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Melvin Koh HackerNoon profile picture
Melvin Koh@melvinkcx2
Software Engineer | Maintainer of fastapi-events

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
L O A D I N G
. . . comments & more!