Dockerfile to build a NodeJS base image for building/serving applications. This container uses Alpine and Debian as a base.
None.
None.
Automated builds of the image are available on Docker Hub and is the recommended method of installation.
docker pull tiredofit/nodejs:(image tag)
The following image tags are available:
10:latest
- Node JS 10 - Alpine 3.1310:debian-latest
- Node JS 10 - Debian Buster12:latest
- Node JS 12 - Alpine 3.1312:debian-latest
- Node JS 12 - Debian Buster14:latest
- Node JS 14 - Alpine 3.1316:latest
- Node JS 16 - Alpine 3.1314:debian-latest
- Node JS 14 - Debian bBuster16:debian-latest
- Node JS 16 - Debian bBuster
- The quickest way to get started is using docker-compose.
- Set various environment variables to understand the capabilities of this image.
- Map persistent storage for access to configuration and data files for backup.
- Map Network Ports to allow external access.
Start the container using:
docker-compose up
This a base image, so no data volumes are exposed.
No environment variables are exposed other than the base environment variables.
No networking ports are exposed.
For debugging and maintenance purposes you may want access the containers shell.
docker exec -it nodejs bash