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