aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/production/Dockerfile.stretch
diff options
context:
space:
mode:
Diffstat (limited to 'support/docker/production/Dockerfile.stretch')
-rw-r--r--support/docker/production/Dockerfile.stretch5
1 files changed, 2 insertions, 3 deletions
diff --git a/support/docker/production/Dockerfile.stretch b/support/docker/production/Dockerfile.stretch
index 720f266d3..32c5266c5 100644
--- a/support/docker/production/Dockerfile.stretch
+++ b/support/docker/production/Dockerfile.stretch
@@ -1,4 +1,4 @@
1FROM node:10-stretch-slim 1FROM node:10-buster-slim
2 2
3# Allow to pass extra options to the npm run build 3# Allow to pass extra options to the npm run build
4# eg: --light --light-fr to not build all client languages 4# eg: --light --light-fr to not build all client languages
@@ -16,9 +16,8 @@ RUN groupadd -r peertube \
16 && useradd -r -g peertube -m peertube 16 && useradd -r -g peertube -m peertube
17 17
18# Install PeerTube 18# Install PeerTube
19COPY --chown=peertube:peertube . /app
19WORKDIR /app 20WORKDIR /app
20COPY . ./
21RUN chown -R peertube:peertube /app
22 21
23USER peertube 22USER peertube
24 23