chore: 현재 작업 중간 커밋

This commit is contained in:
chungyeong
2026-03-05 11:00:45 +09:00
parent 02970df6af
commit be88b4fcec
43 changed files with 6837 additions and 466 deletions

View File

@@ -1,4 +1,13 @@
FROM node:22-alpine
FROM node:22-slim
# Chrome 실행에 필요한 시스템 라이브러리 + Google Chrome Stable 설치
RUN apt-get update && apt-get install -y --no-install-recommends \
wget gnupg ca-certificates fonts-noto-cjk \
&& wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg \
&& echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update && apt-get install -y --no-install-recommends google-chrome-stable \
&& apt-get purge -y wget gnupg \
&& apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
WORKDIR /app
@@ -9,7 +18,9 @@ COPY . .
ENV NODE_ENV=production \
DASHBOARD_HOST=0.0.0.0 \
DASHBOARD_PORT=3000
DASHBOARD_PORT=3000 \
# Chrome이 컨테이너 내에서 sandbox 없이 실행될 수 있도록
CHROME_NO_SANDBOX=true
EXPOSE 3000