Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ downloads/
__pycache__/
*.pyc
assets/*.mov
assets/*.mp4
assets/*.mkv
assets/*.webm
.DS_Store
.env
.vscode/
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends ffmpeg && \
rm -rf /var/lib/apt/lists/*

# Run as non-root user
RUN useradd --create-home --shell /bin/bash reclip
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .
RUN mkdir -p downloads && chown -R reclip:reclip /app

USER reclip

EXPOSE 8899
ENV HOST=0.0.0.0
Expand Down
Loading