terra-sync / cnc

Seamless Database Replication tool
GNU General Public License v3.0
4 stars 2 forks source link

Add Docker support and documentation for CNC application #33

Closed charmitro closed 5 months ago

charmitro commented 5 months ago

This commit introduces Docker support for the CNC application. It includes a Dockerfile for building a lightweight, Alpine-based Docker image for the application. The Dockerfile is set up with a multi-stage build process: the first stage compiles the application using Alpine as the base image and the second stage prepares the final image containing only the necessary runtime dependencies and the compiled binary.

Additionally, a documentation file (docker.adoc) is added. Providing instructions on how to build and run the CNC application inside a Docker container, including how to mount a configuration file from the host into the container.

Changes include:

Closes #31