Dockerfile
This commit is contained in:
parent
a3f9ff7750
commit
d34d67138d
@ -3,11 +3,8 @@ FROM node:20 AS build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
# ✅ typescript + vite 글로벌 설치
|
||||
RUN npm install -g typescript vite
|
||||
|
||||
# ✅ 로컬 패키지 설치
|
||||
RUN npm install
|
||||
# ✅ 로컬 의존성 설치 (dev 포함)
|
||||
RUN npm install --include=dev
|
||||
|
||||
# ✅ 빌드
|
||||
RUN npm run build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user