aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-08 16:09:13 +0200
committerChocobozzz <me@florianbigard.com>2019-07-08 16:09:13 +0200
commit297067399db2bf7505561d67667ca0d559a8e42b (patch)
tree6df70daa7d16c495c3a3b96b3377e2b407357b67 /support/docker
parent7593d9f87278063fc99bef5df3584aec67ed79d1 (diff)
downloadPeerTube-297067399db2bf7505561d67667ca0d559a8e42b.tar.gz
PeerTube-297067399db2bf7505561d67667ca0d559a8e42b.tar.zst
PeerTube-297067399db2bf7505561d67667ca0d559a8e42b.zip
yarn -> npm in dockerfile
Diffstat (limited to 'support/docker')
-rw-r--r--support/docker/production/Dockerfile.stretch4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/docker/production/Dockerfile.stretch b/support/docker/production/Dockerfile.stretch
index 0cc764508..c653233b6 100644
--- a/support/docker/production/Dockerfile.stretch
+++ b/support/docker/production/Dockerfile.stretch
@@ -1,6 +1,6 @@
1FROM node:8-stretch 1FROM node:8-stretch
2 2
3# Allow to pass extra options to the yarn 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
5# (speed up build time if i18n is not required) 5# (speed up build time if i18n is not required)
6ARG NPM_RUN_BUILD_OPTS 6ARG NPM_RUN_BUILD_OPTS
@@ -59,5 +59,5 @@ COPY ./support/docker/production/docker-entrypoint.sh /usr/local/bin/docker-entr
59ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] 59ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
60 60
61# Run the application 61# Run the application
62CMD ["yarn", "start"] 62CMD ["npm", "start"]
63EXPOSE 9000 63EXPOSE 9000