Files
reuse-surface/Dockerfile
tegwick cbcd097214
Some checks failed
ci / validate-registry (push) Has been cancelled
Align naming with coulomb.social reuse-surface conventions
Use reuse.coulomb.social, REUSE_SURFACE_URL/TOKEN env vars, reuse-surface
image and reuse-surface-env secret. Replace reuse-surface-hub entrypoint with
reuse-surface serve; CLI uses --base-url.
2026-06-15 09:02:02 +02:00

18 lines
342 B
Docker

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_HOST=0.0.0.0
ENV REUSE_SURFACE_PORT=8000
ENV REUSE_SURFACE_DB=/data/reuse.db
ENV REUSE_SURFACE_CACHE_DIR=/data/cache
EXPOSE 8000
CMD ["reuse-surface", "serve"]