initial dockerfile
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -1,4 +1,10 @@
|
|||||||
# Basic nginx dockerfile starting with Ubuntu 20.04
|
FROM node:20-slim
|
||||||
FROM ubuntu:20.04
|
|
||||||
RUN apt-get -y update
|
RUN apt-get update && apt-get install -y git
|
||||||
RUN apt-get -y install nginx
|
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
|
||||||
Reference in New Issue
Block a user