/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
examples/with-docker/compose.yml
28 строк
755 B
Kristiyan Velkov
[feat] Added Docker examples for standalone output and export output following best practices (#87069)
20 фев 2026, 17:57
Не верифицирован
20 фев 2026, 17:57
d7732c5
Код
Авторство
О чём код?
services: # Node.js service (use with: docker compose up nextjs-standalone --build) nextjs-standalone: build: context: . dockerfile: Dockerfile image: nextjs-standalone-image container_name: nextjs-standalone-container environment: NODE_ENV: production PORT: "3000" ports: - "3000:3000" restart: unless-stopped # Bun service (use with: docker compose up nextjs-standalone-with-bun --build) nextjs-standalone-with-bun: build: context: . dockerfile: Dockerfile.bun image: nextjs-standalone-bun-image container_name: nextjs-standalone-bun-container environment: NODE_ENV: production PORT: "3000" ports: - "3000:3000" restart: unless-stopped