<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nuxt on johanneskueber.com</title><link>https://johanneskueber.com/tags/nuxt/</link><description>Recent content in Nuxt on johanneskueber.com</description><generator>Hugo</generator><language>en_US</language><lastBuildDate>Wed, 28 Apr 2021 18:12:26 +0000</lastBuildDate><atom:link href="https://johanneskueber.com/tags/nuxt/index.xml" rel="self" type="application/rss+xml"/><item><title>Running an SPA and an API in the same Docker Container</title><link>https://johanneskueber.com/posts/2021-04-28-spa-and-server-in-one-dockerfile/</link><pubDate>Wed, 28 Apr 2021 18:12:26 +0000</pubDate><guid>https://johanneskueber.com/posts/2021-04-28-spa-and-server-in-one-dockerfile/</guid><description>&lt;p&gt;Hosting a static web page was never a problem. A simple Apache or nginx server and a local directory on the server was always enough. With cloud environment these tools are still available. And it is simple enough to mount a directory into an nginx container. However, you still need to spin up a container just for the purpose of hosting a static page. Using a JAMstack application, you also need an API container to connect to. In order to reduce the number of containers and the overhead, I will show how we can integrate the the server for the static page into our API server. This way, we will have everything included in a single container. This is all achieved by using dockers multi-stage builds.&lt;/p&gt;</description></item></channel></rss>