-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
Feature Summary
Containerize the OSS Website using Docker to provide a consistent development and deployment environment across all platforms.
Problem or Need
Currently, developers must manually install Node.js and manage dependencies locally. This can lead to:
- "It works on my machine" bugs due to different Node versions or OS environments.
- Complex onboarding for new members who may struggle with local environment setup.
- Deployment inconsistency between local development and production hosting.
Describe the Solution
Create a Dockerfile and docker-compose.yml to streamline the setup process.
Key Requirements:
- Multi-stage Dockerfile: Optimize the image size by separating the build environment from the production runtime.
- Docker Compose: Add a docker-compose.yml file to allow members to start the entire environment (including potential future services like a database or CMS) with a single command.
- Layer Caching: Ensure package.json is copied and installed before the source code to speed up subsequent builds.
- Documentation: Update the README.md with instructions on how to run the site using Docker.
Alternatives Considered (Optional)
No response
Additional Info or References (Optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request