← All tools

Dockerfile Generator

Choose a framework starter or build a Dockerfile from scratch. Review the output for your app before deploying.

This starter assumes conventional project files. Check the dependency install, build and start commands against your application.

Dockerfile

Download Dockerfile
# Next.js starter — adjust versions, build steps, and production configuration for your app.
FROM node:22-alpine

WORKDIR /app
COPY . .
RUN npm ci && npm run build

EXPOSE 3000
CMD ["sh","-c","npm run start"]

For project-aware detection, use Bundar containerfile on your project directory.