forked from jibon57/bbb-recorder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (23 loc) · 936 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#Download base image debian
FROM node
# Create app directory
WORKDIR /root
# LABEL about the custom image
LABEL maintainer="arbi20.arakelian@gmail.com"
LABEL version="0.1"
LABEL description="This is custom Docker Image for"
#Update Software Repository
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
#RUN apt-get -y curl
RUN curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
RUN echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list
RUN apt-get -y update
RUN apt-get -y install google-chrome-stable
RUN apt-get -y install software-properties-common
RUN add-apt-repository ppa:jonathonf/ffmpeg-4
#RUN apt-get -y update
RUN apt-get -y install ffmpeg
RUN apt -y install xvfb
RUN git clone https://github.com/jibon57/bbb-recorder
RUN cd bbb-recorder && npm install --ignore-scripts
WORKDIR /root/bbb-recorder