initial commit
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user