mirror of
https://github.com/Codegres-com/Simple-Whatsapp-API.git
synced 2026-04-26 20:35:55 +03:00
[PR #3] [MERGED] feat: Add Docker support for the application #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Simple-Whatsapp-API#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:feature/docker-support📝 Commits (1)
0690c7cfeat: 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:
Dockerfilethat containerizes the application using the efficientnode:20-alpinebase image. It sets up the working directory, installs dependencies, and configures the application to run on container start..dockerignorefile to exclude unnecessary files likenode_modulesand.gitfrom the build context, resulting in a smaller and more secure image.docker-compose.ymlfile to simplify running the application. It defines the service, manages environment variables with sensible defaults, maps ports, and configures named volumes forsessionsanduploadsto ensure data persistence across container restarts.README.mdhas 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 moderndocker composesyntax.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.