FROM python:3.12-slim WORKDIR /app COPY pyproject.toml README.md ./ COPY reuse_surface ./reuse_surface COPY schemas ./schemas RUN pip install --no-cache-dir . ENV REUSE_SURFACE_LISTEN_HOST=0.0.0.0 ENV REUSE_SURFACE_LISTEN_PORT=8000 ENV REUSE_SURFACE_DB=/data/reuse.db ENV REUSE_SURFACE_CACHE_DIR=/data/cache EXPOSE 8000 CMD ["reuse-surface", "serve"]