-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·37 lines (29 loc) · 814 Bytes
/
Copy pathDockerfile
File metadata and controls
executable file
·37 lines (29 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This is a temporary file right now it will not work for this project
# Build from python slim image
FROM python:3.13-slim
# Set ENV variables
ENV TZ=America/New_York
ENV DEBIAN_FRONTEND=noninteractive
# Default display to :99
ENV DISPLAY=:99
# Install other dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
dos2unix \
python3-pip \
git \
tzdata \
xvfb \
ffmpeg \
streamlink \
&& rm -rf /var/lib/apt/lists/*
# Install python dependencies
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
# CD into app
WORKDIR /app
COPY . .
# Make the entrypoint executable
RUN dos2unix entrypoint.sh && \
chmod +x entrypoint.sh
# Set the entrypoint to our entrypoint.sh
ENTRYPOINT ["/app/entrypoint.sh"]