5 && apt-get -y install ffmpeg \
6 && rm /var/lib/apt/lists/* -fR
9 RUN groupadd -g 991 peertube \
10 && useradd -u 991 -g peertube -m peertube
12 # Download the latest version
13 RUN git clone https://github.com/Chocobozzz/PeerTube /app \
14 && chown -R peertube:peertube /app
20 RUN yarn install --pure-lockfile \
24 RUN cp /app/config/default.yaml /app/support/docker/production/config/default.yaml
25 ENV NODE_ENV production
26 ENV NODE_CONFIG_DIR /app/support/docker/production/config