First files
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
FROM python:3-alpine3.15
|
||||
WORKDIR /app
|
||||
|
||||
# Install the application dependencies
|
||||
COPY . ./
|
||||
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"]
|
||||
Reference in New Issue
Block a user