Skip to content

Improved Dockerfiles and pre-built Docker images  #3179

@dlhck

Description

@dlhck

Description:

  • Enhance the existing Dockerfiles and Docker Compose files to optimize the experience of hosting Vendure in production and simplify local development.
  • Publish pre-built Docker images to streamline the setup process, reducing the time and complexity required for developers to get started and easing deployment for production environments.

Motivation:

  • Hosting Vendure in production requires optimized and well-structured Docker configurations to ensure reliability and performance. The current Dockerfiles and Docker Compose files can be improved to better support production use cases.
  • Pre-built Docker images will enable developers to quickly spin up Vendure for local development without having to build the images manually. This will improve the developer experience and accelerate project setup, as well as simplify updates and maintenance in production environments.

Proposed Solution:

  • Refactor the existing Dockerfiles to ensure they follow best practices for production-grade deployments, including optimizations for performance, security, and minimal image size.
  • Update Docker Compose files to include improved configurations that are more suitable for development and production environments.
  • Publish official pre-built Docker images on Docker Hub (or another registry) to allow developers to pull and run Vendure images without building from scratch.
  • Document the updated Docker setup and provide guidelines for using pre-built images in different environments, including recommendations for production deployments.

Additional Context:

  • This feature aims to simplify and accelerate both local development and production deployment of Vendure by providing an improved, out-of-the-box Docker experience. The goal is to make Vendure more accessible for developers and easier to deploy in scalable environments.

Metadata

Metadata

Assignees

Labels

dx 💙Quality of life improvements for developerstype: chore 🧤Not related to production code (build tasks, dependencies etc)

Type

No type

Projects

Status

📅 Planned

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions