- Introduced ARG and ENV for BACKEND_API_BASE_URL in Dockerfile to ensure the correct API base URL is available during the build process.
- Updated next.config.mjs to include a warning about the implications of setting BACKEND_API_BASE_URL in the environment file, emphasizing its impact on multi-domain routing.
- Introduced a multi-stage build process to optimize the Docker image size and build time.
- Added a dedicated stage for dependencies installation using pnpm, enhancing package management.
- Separated the build stage to compile the application, ensuring a cleaner final image.
- Updated the runner stage to copy only necessary files from the build stage, improving runtime performance.
- Replaced npm with pnpm in the CI configuration and Dockerfile for improved dependency management.
- Updated package.json to specify pnpm as the package manager.
- Modified installation instructions in README.md to reflect the use of pnpm.
- Enhanced the build process in the Dockerfile to utilize pnpm for installing dependencies and building the application.