도커 설정 추가

This commit is contained in:
2026-04-08 10:03:48 +09:00
parent 1fb7e8df42
commit 94eb9327d1
3 changed files with 30 additions and 10 deletions

View File

@@ -0,0 +1,15 @@
services:
web:
image: node:24-alpine
working_dir: /app
volumes:
- .:/app
- node_modules:/app/node_modules
ports:
- "5173:5173"
command: sh -c "npm install -g corepack && corepack enable && pnpm install && pnpm run dev --host"
environment:
- NODE_ENV=development
volumes:
node_modules: