This commit is contained in:
@@ -6,14 +6,14 @@ RUN apk add --no-cache git curl unzip coreutils
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Download and extract the EPG repository
|
||||
RUN curl -L https://github.com/iptv-org/epg/archive/refs/tags/2023.12.1.zip -o epg.zip && \
|
||||
unzip epg.zip && \
|
||||
mv epg-2023.12.1/* ./ && \
|
||||
rm -rf epg.zip epg-2023.12.1 && \
|
||||
# Clone the latest EPG repository code
|
||||
RUN git clone --depth 1 -b master https://github.com/iptv-org/epg.git . && \
|
||||
npm install && \
|
||||
npm install pm2 serve -g
|
||||
|
||||
# Create output directory
|
||||
RUN mkdir -p /app/output
|
||||
|
||||
# Copy entrypoint script
|
||||
COPY entrypoint.sh /app/entrypoint.sh
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user