5 && apt-get -y install ffmpeg \
6 && rm /var/lib/apt/lists/* -fR
8 RUN git clone -b master https://github.com/Chocobozzz/PeerTube /app
11 RUN yarn install --pure-lockfile && npm run build
13 # Configure the application
14 RUN groupadd -g 991 peertube \
15 && useradd -u 991 -g peertube -d /data -m peertube
18 RUN cp /app/config/default.yaml /app/support/docker/production/config/default.yaml
19 ENV NODE_ENV production
20 ENV NODE_CONFIG_DIR /app/support/docker/production/config