Files
optimxandCursor dd281e1bd0 Initial commit: SSS 50-week LAN check-in app.
Ship the Synology/Mac deployable player with curriculum mapping, stats, and resource library.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-04 23:11:42 +08:00

22 lines
432 B
Docker

FROM python:3.12-alpine
WORKDIR /app
# The one-key weekly audio loop is composed lazily when first requested.
# Keep ffmpeg in the NAS image so this also works after moving off the Mac.
RUN apk add --no-cache ffmpeg
COPY app.py curriculum.json ./
COPY public ./public
ENV HOST=0.0.0.0 \
PORT=8000 \
ASSET_ROOT=/assets \
DATA_DIR=/data \
PYTHONUNBUFFERED=1
EXPOSE 8000
VOLUME ["/data"]
CMD ["python", "app.py"]