How to deploy NextJS app using Docker with Bun nextjs

How to deploy NextJS app using Docker with Bun

Deploy a NextJS app with Docker and Bun using a three-stage Dockerfile: install dependencies with a frozen lockfile, build the app, then run the standalone output on oven/bun:alpine. Faster installs than npm and a small production image, step by step.

Oct 21, 2024

Integrating .ruby-version into your Rails Gemfile ruby

Integrating .ruby-version into your Rails Gemfile

Stop declaring your Ruby version twice: with a recent Bundler your Gemfile can read .ruby-version directly using ruby file: ".ruby-version". The one-line setup, the required Bundler upgrade, and how it keeps rbenv, RVM, or asdf and Rails in sync.

Jul 22, 2024