www

My personal website(s)
Log | Files | Refs

node-container-image.html (2428B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <head>
      4 <!-- Sep 03, 2024 -->
      5 <meta charset="utf-8" />
      6 <meta name="viewport" content="width=device-width, initial-scale=1" />
      7 <title>Create nodejs image containers</title>
      8 <meta name="author" content="Vincent Demeester" />
      9 <meta name="keywords" content="post" />
     10 <meta name="generator" content="Org Mode" />
     11 <link rel="stylesheet" type="text/css" href="/css/2022.css" />
     12 <link rel="stylesheet" type="text/css" href="/css/syntax.css" />
     13 <link rel='icon' type='image/x-icon' href='/images/favicon.ico'/>
     14 <meta name='viewport' content='width=device-width, initial-scale=1'>
     15 </head>
     16 <body>
     17 <main id="content" class="content">
     18 <header>
     19 <h1 class="title">Create nodejs image containers</h1>
     20 <p class="subtitle" role="doc-subtitle">Explore ways to create container image for nodejs projects</p>
     21 </header><section id="outline-container-Introduction" class="outline-2">
     22 <h2 id="Introduction">Introduction</h2>
     23 <div class="outline-text-2" id="text-Introduction">
     24 <p>
     25 This is a NodeJS specific article for <a href="no-need-for-dockerfile.html">You may not need a <code>Dockerfile</code> 🐳</a>. A NodeJs
     26 application can be a lot of things, and thus there is quite some ways to generate
     27 container image for it.
     28 </p>
     29 
     30 <ul class="org-ul">
     31 <li>Single Page App: static set of file to be served by an HTTP server (nginx, apache, …)</li>
     32 <li>Single Page App embedded: similar to above but they will be embedded in another
     33 binary. An example for this is <a href="https://github.com/tektoncd/dashboard"><code>tektoncd/dashboard</code></a>.</li>
     34 <li>A nodejs application: we run the application using <code>node …</code>. This could be an API, or
     35 something else.</li>
     36 </ul>
     37 </div>
     38 </section>
     39 </main>
     40 <footer id="postamble" class="status">
     41 <footer>
     42      <small><a href="/" rel="history">Index</a> • <a href="/sitemap.html">Sitemap</a> • <a href="https://dl.sbr.pm/">Files</a></small><br/>
     43      <small class='questions'>Questions, comments ? Please use my <a href="https://lists.sr.ht/~vdemeester/public-inbox">public inbox</a> by sending a plain-text email to <a href="mailto:~vdemeester/public-inbox@lists.sr.ht">~vdemeester/public-inbox@lists.sr.ht</a>.</small><br/>
     44      <small class='copyright'>
     45       Content and design by Vincent Demeester
     46       (<a rel='licence' href='http://creativecommons.org/licenses/by-nc-sa/3.0/'>Some rights reserved</a>)
     47     </small><br />
     48 </footer>
     49 </footer>
     50 </body>
     51 </html>