mirror of
https://github.com/sudoxnym/connectd.git
synced 2026-04-14 11:37:42 +00:00
- determine_contact_method now recognizes mastodon/bluesky users by platform - username IS the handle for platform-native users - fixed orphaned matches table issue - wave 1 intros sent successfully
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"]
|