Initial commit

This commit is contained in:
2026-09-06 22:30:13 -04:00
committed by quoije
commit 83627e788b
43 changed files with 43131 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM python:3.13-slim
WORKDIR /app
# The API is stdlib-only (no pip install needed).
COPY app ./app
ENV PSP_DATA_DIR=/data \
PSP_DATS_DIR=/data/dats \
PSP_DB_PATH=/data/library.sqlite \
PSP_COVERS_DIR=/data/covers \
PSP_GAMES_ROOTS=/data/umd_games \
PSP_VIDEO_ROOTS=/data/umd_videos \
PSP_STORE_DIR=/data/store
EXPOSE 8000
CMD ["python", "-m", "app.api", "--host", "0.0.0.0", "--port", "8000"]