generated from coulomb/repo-seed
Some checks failed
ci / validate-registry (push) Has been cancelled
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.
18 lines
342 B
Docker
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"] |