음성 재생과 운영 배포 정리
This commit is contained in:
parent
8ed185ce6c
commit
ac7db95542
1020 changed files with 46863 additions and 2175 deletions
|
|
@ -2,12 +2,12 @@
|
|||
FROM node:22-alpine AS build
|
||||
WORKDIR /app
|
||||
# node 22 사용(23.x는 일부 빌드 segfault 이슈 회피)
|
||||
COPY package.json pnpm-lock.yaml* ./
|
||||
RUN corepack enable && pnpm install --frozen-lockfile || npm install
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
ARG VITE_API_BASE=/api
|
||||
ENV VITE_API_BASE=$VITE_API_BASE
|
||||
RUN pnpm build || npm run build
|
||||
RUN npm run build
|
||||
|
||||
# 정적 서빙(작고 이식성 높은 nginx)
|
||||
FROM nginx:1.27-alpine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue