-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdockerfile
More file actions
29 lines (23 loc) · 755 Bytes
/
dockerfile
File metadata and controls
29 lines (23 loc) · 755 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
FROM ubuntu
# 1. Update apt and install system dependencies
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
nodejs \
git \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
# 2. Install Streamlink using the new pip method
# We use --break-system-packages to install it globally in this container environment.
RUN pip3 install -U streamlink --break-system-packages
# 3. Setup workspace
RUN mkdir /streamproxyprj
RUN mkdir /data
WORKDIR /streamproxyprj
# 4. Clone the repository
RUN git clone https://github.com/asabino2/streamproxy.git
# 5. Set working directory for execution
WORKDIR /streamproxyprj/streamproxy
# 6. Expose port and define start command
EXPOSE 4211
CMD node ./src/main.js