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.stretch6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/docker/production/Dockerfile.stretch b/support/docker/production/Dockerfile.stretch
index c739247a6..c616194e6 100644
--- a/support/docker/production/Dockerfile.stretch
+++ b/support/docker/production/Dockerfile.stretch
@@ -5,10 +5,9 @@ RUN apt-get update \
5 && apt-get -y install ffmpeg \ 5 && apt-get -y install ffmpeg \
6 && rm /var/lib/apt/lists/* -fR 6 && rm /var/lib/apt/lists/* -fR
7 7
8# Install the application 8RUN git clone -b master https://github.com/Chocobozzz/PeerTube /app
9WORKDIR /app
10 9
11COPY . ./ 10WORKDIR /app
12RUN yarn install --pure-lockfile && npm run build 11RUN yarn install --pure-lockfile && npm run build
13 12
14# Configure the application 13# Configure the application
@@ -16,6 +15,7 @@ RUN groupadd -g 991 peertube \
16 && useradd -u 991 -g peertube -d /data -m peertube 15 && useradd -u 991 -g peertube -d /data -m peertube
17USER peertube 16USER peertube
18 17
18RUN cp /app/config/default.yaml /app/support/docker/production/config/default.yaml
19ENV NODE_ENV production 19ENV NODE_ENV production
20ENV NODE_CONFIG_DIR /app/support/docker/production/config 20ENV NODE_CONFIG_DIR /app/support/docker/production/config
21 21