initial commit

This commit is contained in:
Glyphscribe Ety
2025-04-26 23:45:24 -05:00
commit f60db11733
10 changed files with 856 additions and 0 deletions

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
# Dockerfile
# Base image and add git (for peertube library)
FROM python:3.13-alpine
RUN apk update && apk add --no-cache git shadow ffmpeg
RUN groupadd clipperuser && adduser --ingroup clipperuser --disabled-password --gecos "" clipperuser
# Set up app directory
USER clipperuser
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir requests websocket-client git+https://framagit.org/framasoft/peertube/clients/python.git
CMD ["python", "-u", "main.py"]