-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (33 loc) · 900 Bytes
/
Copy pathDockerfile
File metadata and controls
41 lines (33 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM node:22-bookworm-slim
ENV DEBIAN_FRONTEND=noninteractive
ENV NODE_ENV=production
ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bash \
ca-certificates \
chromium \
curl \
fonts-noto-cjk \
fonts-noto-color-emoji \
git \
lsof \
poppler-utils \
procps \
tmux \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g @openai/codex@0.114.0
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm install
COPY . .
RUN mkdir -p \
/app/work/research-intel/profile \
/app/work/research-intel/runtime \
/app/research-intel-records/daily \
/app/research-intel-records/history \
/app/research-intel-records/knowledge \
/app/research-intel-records/papers \
/app/logs/research-intel
CMD ["node", "scripts/research-intel/web-server.js"]