feat: ...
This commit is contained in:
@@ -35,6 +35,7 @@ RUN npx shadcn add -y button badge card input tabs progress dropdown-menu toolti
|
||||
# ใช้ร่วมกับ compose: bind ทั้งโปรเจ็กต์ → /app
|
||||
# และใช้ named volume แยกสำหรับ /app/node_modules และ /app/.next
|
||||
FROM base AS dev
|
||||
RUN apk add --no-cache git openssh-client ca-certificates
|
||||
# สำคัญ: สร้างโฟลเดอร์ที่ Next ใช้งาน (เวลายังไม่ bind อะไรเข้ามา)
|
||||
RUN install -d -o node -g node /app/public /app/app /app/.logs /app/.next /app/.next/cache
|
||||
# นำ node_modules จากชั้น deps มาไว้ (ลดเวลาตอน start ครั้งแรก)
|
||||
|
||||
Reference in New Issue
Block a user