mirror of
https://github.com/sudoxnym/connectd.git
synced 2026-04-14 11:37:42 +00:00
- add lemmy scraper (fediverse reddit alternative) - add discord discovery + DM delivery - fix all env var credentials (no hardcoded secrets) - add beautifulsoup to requirements - fix DB path for docker (uses /data volume) - update docker-compose to use sudoxreboot/connectd 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
390 B
Docker
20 lines
390 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# install deps
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# copy app
|
|
COPY . .
|
|
|
|
# create data directories (db files stored in /data, not /app/db)
|
|
RUN mkdir -p /data/db /data/cache
|
|
|
|
# set DB path via env
|
|
ENV DB_PATH=/data/db/connectd.db
|
|
ENV CACHE_DIR=/data/cache
|
|
|
|
# default command runs daemon
|
|
CMD ["python", "daemon.py"]
|