mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 08:30:06 -04:00
Delete Dockerfile
This commit is contained in:
parent
281a581ed8
commit
c79491f48e
1 changed files with 0 additions and 20 deletions
20
Dockerfile
20
Dockerfile
|
@ -1,20 +0,0 @@
|
|||
FROM node:22-alpine
|
||||
ARG GIT_REPO=https://github.com/iptv-org/epg.git
|
||||
ARG GIT_BRANCH=master
|
||||
ARG USER=iptv-org
|
||||
ARG WORKDIR=/epg
|
||||
WORKDIR $WORKDIR
|
||||
RUN apk update \
|
||||
&& apk upgrade --no-cache \
|
||||
&& apk add --no-cache git tzdata bash \
|
||||
&& npm install -g npm@latest \
|
||||
&& git clone --depth 1 -b $(echo "${GIT_BRANCH} ${GIT_REPO}") . \
|
||||
&& npm install \
|
||||
&& mkdir /public \
|
||||
&& adduser -D $USER \
|
||||
&& chown -R $USER $WORKDIR \
|
||||
&& cd $WORKDIR \
|
||||
&& apk del git
|
||||
USER $USER
|
||||
EXPOSE 3000
|
||||
CMD [ "npx", "pm2-runtime", "pm2.config.js" ]
|
Loading…
Add table
Add a link
Reference in a new issue