Commit graph

8 commits

Author SHA1 Message Date
ba4f78b27a
Refactor Dockerfile and update Next.js configuration for improved build process
- Simplified the Dockerfile by consolidating dependency installation and streamlining the multi-stage build process.
- Changed the base image for the builder and runner stages to `node:22-slim` for better compatibility.
- Updated the Next.js configuration to remove the standalone output option and added a production start script in package.json.
2025-10-25 09:53:48 +02:00
a93efe5150
Update Dockerfile to replace next.config.js with next.config.ts
- Changed the Dockerfile to copy next.config.ts instead of next.config.js, aligning with TypeScript configuration.
- Removed unnecessary copies of bunScripts and env.js to streamline the build process.
2025-10-25 04:02:08 +02:00
e48909e481
Update Dockerfile to streamline dependency copying
- 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.
2025-10-25 03:59:19 +02:00
064b37b822
Update Dockerfile to use the latest Bun image for production builds
- 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.
2025-10-25 03:58:06 +02:00
ddbd73fd3e
Refactor Dockerfile for improved build process and configuration management
- 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.
2025-10-25 03:55:59 +02:00
bdc5fbc8fd
Update Dockerfile to install all dependencies including devDependencies
- Modified the Dockerfile to install dependencies with the `--production=false` flag, allowing for the inclusion of devDependencies during the build process.
2025-10-25 03:47:15 +02:00
07b87ac8a7
Update Dockerfile to improve dependency management
- 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.
2025-10-25 03:38:58 +02:00
25d212f884
Add Docker support with Dockerfile and .dockerignore
- 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.
2025-10-25 03:37:05 +02:00