- Meilisearch 기반 일정 검색 API 구현 - 멤버 별명으로 검색 지원 (하냥 → 송하영) - 영문 자판 → 한글 변환 검색 지원 - 검색 응답 구조 개선 (category 객체, datetime 통합, members 배열) - 개발/배포 환경 Dockerfile 통합 (주석 전환 방식) - docker-compose.yml 단일 파일로 통합 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
937 B
Docker
27 lines
937 B
Docker
# ============================================
|
|
# 개발 모드
|
|
# ============================================
|
|
FROM node:20-alpine
|
|
WORKDIR /app
|
|
RUN apk add --no-cache ffmpeg
|
|
CMD ["sh", "-c", "cd /app/backend && npm install && cd /app/frontend && npm install --include=dev && (cd /app/backend && PORT=3000 npm run dev &) && sleep 3 && cd /app/frontend && npm run dev -- --host 0.0.0.0"]
|
|
|
|
# ============================================
|
|
# 배포 모드 (사용 시 위 개발 모드를 주석처리)
|
|
# ============================================
|
|
# FROM node:20-alpine AS frontend-builder
|
|
# WORKDIR /frontend
|
|
# COPY frontend/package*.json ./
|
|
# RUN npm install
|
|
# COPY frontend/ ./
|
|
# RUN npm run build
|
|
#
|
|
# FROM node:20-alpine
|
|
# WORKDIR /app
|
|
# RUN apk add --no-cache ffmpeg
|
|
# COPY backend/package*.json ./
|
|
# RUN npm install --production
|
|
# COPY backend/ ./
|
|
# COPY --from=frontend-builder /frontend/dist ./dist
|
|
# EXPOSE 80
|
|
# CMD ["npm", "start"]
|