- Custom SQLite task manager replacing TickTick wrapper - 73 tasks migrated from TickTick across 15 projects - RRULE recurrence engine with lazy materialization - Dashboard tasks widget (desktop sidebar + mobile card) - Tasks page with project tabs, add/edit/complete/delete - Security: locked ports to localhost, removed old containers - Gitea Actions runner configured and all 3 CI jobs passing - Fixed mobile overflow on dashboard cards - iOS Capacitor app shell (Second Brain) - Frontend/backend guide docs for adding new services - TickTick Google Calendar sync re-authorized Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 lines
432 B
Docker
17 lines
432 B
Docker
FROM python:3.12-slim
|
|
WORKDIR /app
|
|
|
|
RUN adduser --disabled-password --no-create-home appuser
|
|
RUN mkdir -p /app/data && chown -R appuser /app/data
|
|
|
|
COPY --chown=appuser server.py .
|
|
|
|
EXPOSE 8098
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
|
|
CMD python3 -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8098/health', timeout=3)" || exit 1
|
|
|
|
USER appuser
|
|
CMD ["python3", "server.py"]
|