https://github.com/0xtarunkm/docker-nodejs-app
This repository contains a basic Node.js application that can be run in a Docker container. The Docker image is published on Docker Hub for easy deployment. The repository includes a Dockerfile and instructions for running the application. Contributions are welcome.
https://github.com/0xtarunkm/docker-nodejs-app
docker javascript nodejs
Last synced: 3 months ago
JSON representation
This repository contains a basic Node.js application that can be run in a Docker container. The Docker image is published on Docker Hub for easy deployment. The repository includes a Dockerfile and instructions for running the application. Contributions are welcome.
- Host: GitHub
- URL: https://github.com/0xtarunkm/docker-nodejs-app
- Owner: 0xtarunkm
- Created: 2023-04-04T14:25:20.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-04T14:37:40.000Z (about 2 years ago)
- Last Synced: 2025-01-17T14:55:12.294Z (5 months ago)
- Topics: docker, javascript, nodejs
- Language: JavaScript
- Homepage: https://hub.docker.com/r/tarunclub/hey-nodejs
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker-nodejs-app
This repository contains a basic Node.js application that can be run in a Docker container. The Docker image is published on [Docker Hub](https://hub.docker.com/r/tarunclub/hey-nodejs).
## Running the application
### Prerequisites
To run the application, you will need to have [Docker](https://www.docker.com/) installed on your system.
### Running the Docker image
You can run the Docker image using the following command:
```
docker run -p 8000:8000 tarunclub/hey-nodejs
```This will start the Node.js application inside a Docker container and expose it on port 8000.
### Accessing the application
You can access the application by opening your web browser and navigating to [http://localhost:8000](http://localhost:8000). You should see a "Hey Node.js!" message displayed in your browser.
## Building the Docker image
If you want to build the Docker image yourself, you can use the following command:
```
docker build -t hey-nodejs .
```This will build the Docker image using the Dockerfile in the repository.
## Contributing
If you find any issues with the application or want to contribute to it, feel free to create a pull request or open an issue in the repository.