- Removed the copying of bunfig.toml from the Dockerfile, simplifying the build context.
- Maintained the installation of dependencies with the `--frozen-lockfile` option for consistency.
- Changed the base image for the production stage to `oven/bun:latest` to ensure compatibility and access to the latest features.
- Maintained the existing multi-stage build structure for optimized application deployment.
- Updated the Dockerfile to use the latest base image and streamline the multi-stage build process.
- Enhanced dependency installation by copying additional configuration files and using the `--frozen-lockfile` option.
- Set environment variables for production settings and localization.
- Adjusted the command to start the application, ensuring it runs the correct entry point.
- Modified the Dockerfile to install dependencies with the `--production=false` flag, allowing for the inclusion of devDependencies during the build process.
- Modified the Dockerfile to copy bun.lock conditionally, ensuring it is included only if present.
- Removed the frozen lockfile option during dependency installation to allow for more flexible updates.
- Introduced a Dockerfile for building and running the Next.js application using Bun.
- Configured multi-stage builds for optimized dependency management and production setup.
- Added a .dockerignore file to exclude unnecessary files from the Docker context, improving build efficiency.