Ship the Synology/Mac deployable player with curriculum mapping, stats, and resource library. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
432 B
Docker
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"]
|