adds docker deployment

This commit is contained in:
TheBeastLT
2020-03-26 18:34:29 +01:00
parent 0e802c74d2
commit 6244208ed6
6 changed files with 63 additions and 46 deletions

3
addon/.dockerignore Normal file
View File

@@ -0,0 +1,3 @@
node_modules
npm-debug.log
**/.env

12
addon/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM node:12-alpine
RUN apk update && apk upgrade && \
apk add --no-cache git
WORKDIR /home/node/app
COPY package*.json ./
RUN npm ci --only-production
COPY . .
CMD [ "node", "index.js" ]

View File

@@ -12,9 +12,9 @@ function manifest({ providers, realdebrid } = {}) {
const realDebridDesc = realdebrid ? ' and RealDebrid enabled' : '';
return {
id: 'com.stremio.torrentio.addon',
version: '0.0.1-beta',
version: '0.0.2',
name: 'Torrentio',
description: '[BETA] Provides torrent streams from scraped torrent providers.'
description: 'Provides torrent streams from scraped torrent providers.'
+ ` ${providersDesc} ${providersList.join(', ')}${realDebridDesc}.`
+ ' To configure providers, RealDebrid support and other settings visit www.torrentio.now.sh',
catalogs: [],