diff --git a/Dockerfile b/Dockerfile index 2bc2dab..3fc6b24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,10 @@ -# Basic nginx dockerfile starting with Ubuntu 20.04 -FROM ubuntu:20.04 -RUN apt-get -y update -RUN apt-get -y install nginx \ No newline at end of file +FROM node:20-slim + +RUN apt-get update && apt-get install -y git +RUN mkdir /epg +RUN git clone --depth 1 -b master https://github.com/iptv-org/epg.git /epg +WORKDIR /epg + +RUN npm install + +CMD npm run grab -- --site=abc.net.au \ No newline at end of file