[PR #3] [MERGED] feat: Add Docker support for the application #3

Closed
opened 2026-03-03 01:17:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Codegres-com/Simple-Whatsapp-API/pull/3
Author: @Codegres-com
Created: 9/30/2025
Status: Merged
Merged: 9/30/2025
Merged by: @Codegres-com

Base: mainHead: feature/docker-support


📝 Commits (1)

  • 0690c7c feat: Add Docker support for the application

📊 Changes

4 files changed (+111 additions, -0 deletions)

View changed files

.dockerignore (+9 -0)
Dockerfile (+20 -0)
📝 README.md (+65 -0)
docker-compose.yml (+17 -0)

📄 Description

This commit introduces comprehensive Docker support to streamline the development and deployment process.

Key changes include:

  • A Dockerfile that containerizes the application using the efficient node:20-alpine base image. It sets up the working directory, installs dependencies, and configures the application to run on container start.
  • A .dockerignore file to exclude unnecessary files like node_modules and .git from the build context, resulting in a smaller and more secure image.
  • A docker-compose.yml file to simplify running the application. It defines the service, manages environment variables with sensible defaults, maps ports, and configures named volumes for sessions and uploads to ensure data persistence across container restarts.
  • The README.md has been updated with a new "Running with Docker" section, providing clear, step-by-step instructions for getting the application running with both Docker Compose (recommended) and manual Docker commands. The commands have been updated to use the modern docker compose syntax.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Codegres-com/Simple-Whatsapp-API/pull/3 **Author:** [@Codegres-com](https://github.com/Codegres-com) **Created:** 9/30/2025 **Status:** ✅ Merged **Merged:** 9/30/2025 **Merged by:** [@Codegres-com](https://github.com/Codegres-com) **Base:** `main` ← **Head:** `feature/docker-support` --- ### 📝 Commits (1) - [`0690c7c`](https://github.com/Codegres-com/Simple-Whatsapp-API/commit/0690c7c3830a67c26e8013c9ad8836b53ee13b86) feat: Add Docker support for the application ### 📊 Changes **4 files changed** (+111 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.dockerignore` (+9 -0) ➕ `Dockerfile` (+20 -0) 📝 `README.md` (+65 -0) ➕ `docker-compose.yml` (+17 -0) </details> ### 📄 Description This commit introduces comprehensive Docker support to streamline the development and deployment process. Key changes include: - A `Dockerfile` that containerizes the application using the efficient `node:20-alpine` base image. It sets up the working directory, installs dependencies, and configures the application to run on container start. - A `.dockerignore` file to exclude unnecessary files like `node_modules` and `.git` from the build context, resulting in a smaller and more secure image. - A `docker-compose.yml` file to simplify running the application. It defines the service, manages environment variables with sensible defaults, maps ports, and configures named volumes for `sessions` and `uploads` to ensure data persistence across container restarts. - The `README.md` has been updated with a new "Running with Docker" section, providing clear, step-by-step instructions for getting the application running with both Docker Compose (recommended) and manual Docker commands. The commands have been updated to use the modern `docker compose` syntax. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 01:17:12 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Simple-Whatsapp-API#3
No description provided.