Files
Happy-Ripper-Docker/Dockerfile
T
pizza2d1 408f2242a7
Build and Push Docker Image / docker (push) Successful in 3m1s
fixed
2026-09-19 02:23:18 -06:00

20 lines
395 B
Docker

FROM python:3-alpine3.15
WORKDIR /app
# Install the application dependencies
# COPY . ./
COPY happy_ripper.py ./
COPY requirements.txt ./
COPY templates ./templates
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"]