# crosswalk-tools: lightweight Python environment for Lab 5.2
# Base: python:3.12-slim (official Docker Hub image, well-maintained)
# Installs: pandas, openpyxl (Excel read/write), tabulate (pretty-print tables)

FROM python:3.12-slim

RUN apt-get update \
    && apt-get install -y --no-install-recommends \
       curl \
       ca-certificates \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

RUN pip install --no-cache-dir \
    pandas==2.2.2 \
    openpyxl==3.1.2 \
    tabulate==0.9.0

WORKDIR /workdir

# Copy seed files into the image so students can work without mounting
COPY workdir/ /workdir/
