gary-boon Claude Opus 4.5 commited on
Commit
3b5c3ac
·
1 Parent(s): a2bd186

Fix Dockerfile: add build-essential for numcodecs compilation

Browse files

numcodecs requires C compiler during pip install.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,9 +1,10 @@
1
  # Backend-only Dockerfile for Hugging Face Spaces
2
  FROM python:3.11-slim
3
 
4
- # Install system dependencies
5
  RUN apt-get update && apt-get install -y \
6
  curl \
 
7
  && rm -rf /var/lib/apt/lists/*
8
 
9
  WORKDIR /app
 
1
  # Backend-only Dockerfile for Hugging Face Spaces
2
  FROM python:3.11-slim
3
 
4
+ # Install system dependencies (including build tools for numcodecs)
5
  RUN apt-get update && apt-get install -y \
6
  curl \
7
+ build-essential \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
  WORKDIR /app