Added docker image files

This commit is contained in:
2026-09-19 01:47:28 -06:00
parent 7acb9f63a3
commit aa91ee8d7a
4 changed files with 120 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM python:3-alpine3.15
WORKDIR /app
# Install the application dependencies
# COPY . ./
COPY happy_ripper.py ./
COPY requirements.txt ./
COPY templates ./
COPY tmp ./
RUN pip install --no-cache-dir -r requirements.txt
RUN apk add --no-cache ffmpeg
EXPOSE 5000
## Setup an app user so the container doesn't run as the root user
#RUN useradd app
#USER app
CMD ["python3", "./happy_ripper.py"]