Skip to content

feat: Add Dockerfile for building and running the application#128

Merged
garnizeh merged 1 commit into
mainfrom
chore/deploy
Feb 24, 2026
Merged

feat: Add Dockerfile for building and running the application#128
garnizeh merged 1 commit into
mainfrom
chore/deploy

Conversation

@garnizeh

Copy link
Copy Markdown
Owner

This pull request introduces a new multi-stage Docker build process for the Go master service and makes a small adjustment to the Makefile to streamline environment variable usage. The most significant change is the addition of a production-ready Dockerfile that builds and packages the Go application with all necessary dependencies and environment configurations.

Dockerization and Build Improvements:

  • Added a multi-stage Dockerfile for the Go master service, which builds the binary using a Go Alpine image, installs necessary build dependencies for CGO, and then creates a minimal runtime image with required environment variables and directories. This prepares the service for containerized deployment.

Development Workflow:

  • Updated the run-master target in the Makefile by removing the redundant MASTER_PORT environment variable assignment, as it is now handled via the Dockerfile or other configuration methods.

@garnizeh
garnizeh merged commit 6c860f5 into main Feb 24, 2026
1 check passed
@garnizeh
garnizeh deleted the chore/deploy branch February 24, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant