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:
Dockerfile: Defines the multi-stage build process for creating a minimal Docker image.
docs/docker.adoc: Contains detailed instructions for building the Docker image and running the CNC application inside a Docker container.
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:
Dockerfile
: Defines the multi-stage build process for creating a minimal Docker image.docs/docker.adoc
: Contains detailed instructions for building the Docker image and running the CNC application inside a Docker container.Closes #31