Files
reuse-surface/Dockerfile
tegwick ae41395d3e
Some checks failed
ci / validate-registry (push) Has been cancelled
Fix K8s service env collision on REUSE_SURFACE_PORT
2026-06-15 10:08:54 +02:00

18 lines
356 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_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"]