Skip to content

Latest commit

 

History

History

nodeserver14

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Node server 14.x

Description

A simple docker image containing node and npm, used to run npm targets. Like frontend servers

Internals

There is a socat proxy added to this image, that tunnel 80 port to 3000. So all aplications runing on this server need to operate on port 3000

Environment variables

  • NFQ_DOCUMENT_ROOT: Used to define starting work dir
  • NFQ_NPM_RUN: target name from package.json to launch on load
  • NFQ_BACKEND_PORT: the port node app will listen on so it can be redirected to port 80