-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathDockerfile.dev
More file actions
30 lines (22 loc) · 778 Bytes
/
Copy pathDockerfile.dev
File metadata and controls
30 lines (22 loc) · 778 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
# ============================================================
# sparkDash — Development Dockerfile with live reload
# ============================================================
FROM node:22-bookworm-slim
WORKDIR /app
# SSH + sshpass + util-linux (nsenter) + build deps
RUN apt-get update && apt-get install -y --no-install-recommends \
openssh-client sshpass procps util-linux iproute2 gcc g++ make python3 \
&& rm -rf /var/lib/apt/lists/*
# Copy package files and install
COPY package.json package-lock.json* ./
RUN npm ci
# Copy source (will be overridden by volume mount)
COPY . .
# Expose dashboard port
EXPOSE 5555
# Default environment
ENV PORT=5555
ENV LLM_PORT=8888
ENV NODE_ENV=development
# Run dev server with hot reload
CMD ["npm", "run", "dev"]