Sign inSign up

cojad/node

By cojad

•Updated over 2 years ago

Image
0

300

cojad/node repository overview

⁠Simple node.js template with minimal http server example

⁠Features

  • nodemon
  • clean node_modules with no depandency (only minimal devDepandency)
  • env timezone & TZ set in Asia/Taipei (make Date object working +8 timezone default)
  • web port can be access at PORT 80 (work with nginx-proxy⁠ & acme-companion⁠

⁠How to use this image

$ docker run cojad/node

⁠UPDATES / 更新

⁠2.0
  • image base bump to node:20.11.1-alpine3.18 (previously 18.10.0-alpine3.16)
⁠1.7
  • add dynamic $DIR path for ease debug in vscode
⁠1.6
  • add simpl http server example
⁠1.5
  • use npm again for smooth development
⁠1.4
  • env TZ=Asia/Taipei
⁠1.3
  • env TimeZone=Asia/Taipei
  • env Virtual_PORT=80
  • env hsts=off
⁠1.0
  • use yarn3 instead of npm

Tag summary

Content type

Image

Digest

sha256:869d671ad…

Size

356.9 MB

Last updated

over 2 years ago

docker pull cojad/node:2.0-puppeteer