silicon-sampling-lab / Dockerfile
kyu823's picture
Initial silicon sampling lab deploy
08ab15f verified
Raw
History Blame Contribute Delete
524 Bytes
FROM node:22-bookworm-slim
ENV PYTHONUNBUFFERED=1
ENV PORT=7860
ENV HOST=0.0.0.0
ENV SILICON_LLM_MAX_AGENTS=3000
RUN apt-get update \
&& apt-get install -y --no-install-recommends python3 python3-pip git curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci
COPY requirements.txt ./
RUN pip3 install --break-system-packages --no-cache-dir -r requirements.txt
COPY . .
RUN npm run build
EXPOSE 7860
CMD ["python3", "server.py", "--host", "0.0.0.0", "--port", "7860"]