mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 17:56:53 +02:00
update teleprompter
This commit is contained in:
parent
08e45dc37c
commit
c0c7e7df2b
@ -5,14 +5,17 @@
|
||||
FROM node:12-alpine
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
ARG APP_DOMAIN=easypi.tv
|
||||
|
||||
WORKDIR /opt/app
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache curl tar \
|
||||
&& npm install npm-run-all \
|
||||
&& ln -s node_modules/npm-run-all/bin/npm-run-all/index.js npm-run-all \
|
||||
&& curl -sSL https://github.com/manifestinteractive/teleprompter/archive/refs/heads/master.tar.gz | tar xz --strip 1 \
|
||||
&& npm install
|
||||
&& find . -type f -exec sed -i "s@promptr\.tv@$APP_DOMAIN@g" {} + \
|
||||
&& npm install \
|
||||
&& npm install npm-run-all \
|
||||
&& ln -s node_modules/npm-run-all/bin/npm-run-all/index.js npm-run-all
|
||||
|
||||
EXPOSE 3000 8080
|
||||
|
||||
|
@ -1,2 +1,12 @@
|
||||
teleprompter
|
||||
============
|
||||
|
||||
Browser-based [TelePrompter][1] with Remote Control
|
||||
|
||||
```bash
|
||||
$ docker-compose build
|
||||
$ docker-compose up -d
|
||||
$ curl -I localhost:3000 localhost:8080
|
||||
```
|
||||
|
||||
[1]: https://github.com/manifestinteractive/teleprompter
|
||||
|
@ -1,7 +1,11 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
teleprompter:
|
||||
image: easypi/teleprompter-arm64
|
||||
image: teleprompter
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
- APP_DOMAIN=easypi.tv
|
||||
init: true
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
Loading…
Reference in New Issue
Block a user