Add Dockerfile. Change access of external repo as github deprecated unsecure git:// protocol access

This commit is contained in:
Zhan Egikyan 2022-04-06 19:39:02 +03:00
parent e9d6a06e52
commit acd9cdfcef
2 changed files with 26 additions and 3 deletions

23
Dockerfile Normal file
View file

@ -0,0 +1,23 @@
# Stremio Node 14.x
FROM stremio/node-base:fermium
# Meta
LABEL Description="Stremio Web" Vendor="Smart Code ltd" Version="1.0.0"
# Create app directory
RUN mkdir -p /var/www/stremio-web
# Install app dependencies
WORKDIR /var/www/stremio-web
COPY package.json package-lock.json /var/www/stremio-web
RUN npm install
RUN npm install -g http-server
# Bundle app source
WORKDIR /var/www/stremio-web
COPY . /var/www/stremio-web
RUN npm run build
EXPOSE 8080
CMD ["http-server", "/var/www/stremio-web/build/", "-p", "8080"]

6
package-lock.json generated
View file

@ -1868,7 +1868,7 @@
"magnet-uri": "6.2.0",
"url": "0.11.0",
"video-name-parser": "1.4.6",
"vtt.js": "git://github.com/jaruba/vtt.js.git#e4f5f5603730866bacb174a93f51b734c9f29e6a"
"vtt.js": "https://github.com/jaruba/vtt.js.git#e4f5f5603730866bacb174a93f51b734c9f29e6a"
}
},
"@tootallnate/once": {
@ -9670,8 +9670,8 @@
"integrity": "sha512-ZdeYjh8X4ms1EzjY/UoiTZ6JWbi8SYyOPGY0jESSLq2BAmdc5sZHi+F8J19Qz0y7H1WSpaltojsCkO1p2dH4YA=="
},
"vtt.js": {
"version": "git://github.com/jaruba/vtt.js.git#e4f5f5603730866bacb174a93f51b734c9f29e6a",
"from": "git://github.com/jaruba/vtt.js.git#e4f5f5603730866bacb174a93f51b734c9f29e6a"
"version": "https://github.com/jaruba/vtt.js.git#e4f5f5603730866bacb174a93f51b734c9f29e6a",
"from": "https://github.com/jaruba/vtt.js.git#e4f5f5603730866bacb174a93f51b734c9f29e6a"
},
"w3c-hr-time": {
"version": "1.0.2",