This commit is contained in:
ingi 2026-05-16 09:36:26 +00:00
parent ea2f353f65
commit ac5da11dad
1 changed files with 18 additions and 0 deletions

18
docker-compose.yml Normal file
View File

@ -0,0 +1,18 @@
version: '3.8'
services:
next-app:
build:
context: .
dockerfile: Dockerfile
container_name: iykyka-next-service
restart: always
ports:
- "8080:3000"
environment:
- NODE_ENV=production
# 💡 빌드 중 메모리 부족(OOM) 에러를 방지하기 위해 램 제한을 1.5GB 이상으로 넉넉하게 늘려줍니다.
deploy:
resources:
limits:
memory: 1536M