fix: use native stockfish binary via debian image

This commit is contained in:
Michess
2026-04-13 13:40:21 +02:00
parent 6b676d3015
commit ebbc8227fd
3 changed files with 4 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
FROM node:lts-alpine3.20
FROM node:lts-bookworm-slim
# Install git only (stockfish via npm package)
RUN apk update && apk add --no-cache git
# Install git and stockfish (native binary)
RUN apt-get update && apt-get install -y --no-install-recommends git stockfish && rm -rf /var/lib/apt/lists/*
ENV PNPM_HOME=/usr/local/bin