Files
pizza2d1 09d1f0b88c
Build and Push Docker Image / docker (push) Failing after 7s
Moving around files and adding readme
2026-09-17 14:15:38 -06:00

22 lines
400 B
Docker

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