]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/production/Dockerfile.stretch
Add support for HLS in the Docker container. (#2324)
[github/Chocobozzz/PeerTube.git] / support / docker / production / Dockerfile.stretch
index 720f266d376c0c0fadace17b01db84deeaaeed49..32c5266c5237e67fb65d1f288a096b5893efcf86 100644 (file)
@@ -1,4 +1,4 @@
-FROM node:10-stretch-slim
+FROM node:10-buster-slim
 
 # Allow to pass extra options to the npm run build
 # eg: --light --light-fr to not build all client languages
@@ -16,9 +16,8 @@ RUN groupadd -r peertube \
     && useradd -r -g peertube -m peertube
 
 # Install PeerTube
+COPY --chown=peertube:peertube . /app
 WORKDIR /app
-COPY . ./
-RUN chown -R peertube:peertube /app
 
 USER peertube