From 22d4967feaf6e918d603e96f5e0f0c6752185fec Mon Sep 17 00:00:00 2001 From: Greg Hendrickson Date: Tue, 27 Jan 2026 17:17:18 +0000 Subject: [PATCH] fix: Dockerfile copy README and src --- Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index a852400..f80f43d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,13 +8,13 @@ RUN apt-get update && apt-get install -y \ WORKDIR /app -# Install Python dependencies -COPY pyproject.toml . -RUN pip install --no-cache-dir . - -# Copy application +# Copy everything needed for install +COPY pyproject.toml README.md ./ COPY src/ src/ +# Install Python dependencies +RUN pip install --no-cache-dir . + # Generate SSH host key RUN mkdir -p /etc/shellmate && \ ssh-keygen -t ed25519 -f /etc/shellmate/ssh_host_key -N "" @@ -25,4 +25,6 @@ USER shellmate EXPOSE 2222 +ENV STOCKFISH_PATH=/usr/games/stockfish + CMD ["shellmate-server"]