diff options
Diffstat (limited to 'support/docker/production/Dockerfile.stretch')
-rw-r--r-- | support/docker/production/Dockerfile.stretch | 5 |
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 @@ | |||
1 | FROM node:10-stretch-slim | 1 | FROM 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 |
19 | COPY --chown=peertube:peertube . /app | ||
19 | WORKDIR /app | 20 | WORKDIR /app |
20 | COPY . ./ | ||
21 | RUN chown -R peertube:peertube /app | ||
22 | 21 | ||
23 | USER peertube | 22 | USER peertube |
24 | 23 | ||