build(docker): add dockerfile, along with GH Action to build it and push to ghcr #81
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds full Docker support for the project, enabling easy containerized deployment and persistent data storage. It introduces a production-ready
Dockerfile, adocker-compose.ymlfor orchestration, a GitHub Actions workflow for automated Docker image builds and pushes, and updates the documentation to guide users on Docker usage. Additionally, it configures.dockerignoreto optimize Docker builds by excluding unnecessary files.Docker support and deployment:
Dockerfilefor building and running the SvelteKit app with persistent data storage and production dependencies only.docker-compose.ymlfile to simplify local development and deployment, with a named volume for persistent app data..dockerignorefile to exclude development files, git metadata, and other unnecessary files from Docker images, improving build efficiency.CI/CD automation:
.github/workflows/docker-build.yml) to automatically build and push Docker images to GitHub Container Registry on pushes tomainor manual dispatch.Documentation:
README.mdwith a new Docker section, providing instructions for building, running, and persisting data using Docker and Docker Compose.