Initial commit: Card Grader deployed to hippofam.com/cards
PWA card-grading app, deployed behind Nginx Proxy Manager on Unraid with basic auth. Includes CARD_GRADER_BASE_PATH support for running under a sub-path, and Docker/compose config for the Unraid deployment.
This commit is contained in:
commit
c7bd71a3e1
19 changed files with 3618 additions and 0 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM python:3.12-slim
|
||||
|
||||
# Only optional deps (see README) — the app itself is stdlib only.
|
||||
RUN pip install --no-cache-dir anthropic pillow
|
||||
|
||||
WORKDIR /app
|
||||
COPY app.py cardimage.py store.py vision.py ./
|
||||
COPY static/ ./static/
|
||||
|
||||
# grades.db lives here; mount a volume at /data to persist it across
|
||||
# container recreates and image updates.
|
||||
ENV CARD_GRADER_DB_PATH=/data/grades.db
|
||||
ENV PORT=8778
|
||||
EXPOSE 8778
|
||||
|
||||
CMD ["python3", "app.py"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue