https://github.com/tiredofit/docker-nodejs
Docker NodeJS Base Images
https://github.com/tiredofit/docker-nodejs
alpine docker node nodejs zabbix-agent
Last synced: about 1 year ago
JSON representation
Docker NodeJS Base Images
- Host: GitHub
- URL: https://github.com/tiredofit/docker-nodejs
- Owner: tiredofit
- License: mit
- Created: 2017-08-23T03:21:05.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2023-01-30T20:20:09.000Z (over 3 years ago)
- Last Synced: 2025-03-21T02:21:55.311Z (about 1 year ago)
- Topics: alpine, docker, node, nodejs, zabbix-agent
- Size: 70.3 KB
- Stars: 8
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# github.com/tiredofit/docker-nodejs
[](https://hub.docker.com/r/tiredofit/nodejs)
[](https://hub.docker.com/r/tiredofit/nodejs)
## About
Dockerfile to build a [NodeJS](https://nodejs.org) base image for building/serving applications.
This container uses [Alpine](https://hub.docker.com/r/tiredofit/alpine) and [Debian](https://hub.docker.com/r/tiredofit/debian) as a base.
[Changelog](CHANGELOG.md)
## Maintainer
- [Dave Conroy](https://github.com/tiredofit)
## Table of Contents
- [Introduction](#introduction)
- [Authors](#authors)
- [Table of Contents](#table-of-contents)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Data-Volumes](#data-volumes)
- [Environment Variables](#environment-variables)
- [Networking](#networking)
- [Shell Access](#shell-access)
- [References](#references)
## Prerequisites and Assumptions
None.
# Dependencies
None.
## Installation
Automated builds of the image are available on [Docker Hub](https://hub.docker.com/r/tiredofit/nodejs) and is the recommended method of installation.
```bash
docker pull tiredofit/nodejs:(image tag)
```
The following image tags are available:
* `10:latest` - Node JS 10 - Alpine 3.13
* `10:debian-latest` - Node JS 10 - Debian Buster
* `12:latest` - Node JS 12 - Alpine 3.13
* `12:debian-latest` - Node JS 12 - Debian Buster
* `14:latest` - Node JS 14 - Alpine 3.13
* `16:latest` - Node JS 16 - Alpine 3.13
* `14:debian-latest` - Node JS 14 - Debian bBuster
* `16:debian-latest` - Node JS 16 - Debian bBuster
### Quick Start
* The quickest way to get started is using [docker-compose](https://docs.docker.com/compose/).
* Set various [environment variables](#environment-variables) to understand the capabilities of this image.
* Map [persistent storage](#data-volumes) for access to configuration and data files for backup.
* Map [Network Ports](#networking) to allow external access.
Start the container using:
```bash
docker-compose up
```
### Persistent Storage
This a base image, so no data volumes are exposed.
### Environment Variables
No environment variables are exposed other than the [base environment variables](https://hub.docker.com/r/alpine).
### Networking
No networking ports are exposed.
### Shell Access
For debugging and maintenance purposes you may want access the containers shell.
```bash
docker exec -it nodejs bash
```
## References
* https://nodejs.org