-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
60 lines (52 loc) · 1.31 KB
/
Copy pathDockerfile.dev
File metadata and controls
60 lines (52 loc) · 1.31 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
FROM oven/bun:1-debian
ARG FIRECRACKER_VERSION=v1.8.2
ARG TARGETARCH
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
ca-certificates \
curl \
git \
procps \
python3 \
python3-pip \
unzip \
chromium \
fonts-liberation \
libasound2 \
libatk-bridge2.0-0 \
libatk1.0-0 \
libcairo2 \
libcups2 \
libdbus-1-3 \
libdrm2 \
libgbm1 \
libglib2.0-0 \
libgtk-3-0 \
libnspr4 \
libnss3 \
libpango-1.0-0 \
libx11-6 \
libxcb1 \
libxcomposite1 \
libxdamage1 \
libxext6 \
libxfixes3 \
libxkbcommon0 \
libxrandr2 \
xdg-utils \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package.json bun.lock ./
COPY bot/package.json ./bot/package.json
COPY landing/package.json ./landing/package.json
COPY web/package.json ./web/package.json
RUN bun install --frozen-lockfile
COPY . .
RUN bun run web:build
# agent-browser CLI for browser research tools
# ARM64 has no Chrome for Testing build, so use the system chromium package.
ENV AGENT_BROWSER_EXECUTABLE_PATH=/usr/bin/chromium
RUN bun install -g agent-browser
# Firecracker binaries are present for API/client development only.
# Actual Firecracker microVM execution requires Linux + /dev/kvm and is unsupported on macOS Docker Desktop.
CMD ["bash"]