Skip to content

Latest commit

 

History

History

node_container

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Node.js based containers

In this folder you will find the Dockerfile templates for immediatly deploy your JS web application.

Each Dockerfile have some customizable environment variables that you can set in the building phase. For example:

docker build --build-arg author="yourName" .

Each Dockerfile is build to be ready to work with the differents JS framework. For example to build the Svelte image you can run this command:

docker build -f svelte.Dockerfile --build-arg \
port=5000 \ 
node_env="production" \
author="Me" .