Skip to content

A sample Node.js application containerized with Docker, featuring a Dockerfile for image creation and a docker-compose file for easy run.

Notifications You must be signed in to change notification settings

acemilyalcin/sample-node-project

Repository files navigation

📦 Sample Node.js Application with Docker Support

This repository contains a Node.js application packaged with Docker and managed via Docker Compose. It allows you to run the application in a containerized environment for easy setup and deployment.

📁 Project Structure

├── app
│ ├── public
│ │ └── styles
│ │     └── styles.css
│ ├── routes.js
│ └── server
│     └── views
│         └── index.ejs
├── app.js
├── docker-compose.yml
├── Dockerfile
├── package-lock.json
├── package.json
└── README.md

🚀 Getting Started

These instructions will get your application up and running using Docker.

🛠️ Prerequisites

Make sure you have the following installed:

📦 Build and Run with Docker Compose

  1. Clone the repository:
git clone https://github.com/acemilyalcin/sample-node-project.git
cd sample-node-project
  1. Start application
docker-compose up --build
  1. Access the application

Once the containers are up, you can access the app at: http://localhost:3000

About

A sample Node.js application containerized with Docker, featuring a Dockerfile for image creation and a docker-compose file for easy run.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published