chore: set up Makefile, linting, and dockerized dev shell

This commit is contained in:
2026-01-13 23:12:55 +01:00
parent 40dbe40b17
commit 1a59c3435d
6 changed files with 109 additions and 2 deletions

25
Dockerfile.dev Normal file
View File

@@ -0,0 +1,25 @@
FROM node:20-slim
# Install system dependencies
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
make \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# Install DuckDB
RUN curl -L https://github.com/duckdb/duckdb/releases/download/v0.10.0/duckdb_cli-linux-amd64.zip -o duckdb.zip \
&& apt-get update && apt-get install -y unzip \
&& unzip duckdb.zip -d /usr/local/bin \
&& rm duckdb.zip
# Set working directory
WORKDIR /app
# Install Python dependencies
RUN pip3 install duckdb ruff --break-system-packages
# Default command
CMD ["/bin/bash"]