diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-08 16:09:13 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-08 16:09:13 +0200 |
commit | 297067399db2bf7505561d67667ca0d559a8e42b (patch) | |
tree | 6df70daa7d16c495c3a3b96b3377e2b407357b67 | |
parent | 7593d9f87278063fc99bef5df3584aec67ed79d1 (diff) | |
download | PeerTube-297067399db2bf7505561d67667ca0d559a8e42b.tar.gz PeerTube-297067399db2bf7505561d67667ca0d559a8e42b.tar.zst PeerTube-297067399db2bf7505561d67667ca0d559a8e42b.zip |
yarn -> npm in dockerfile
-rw-r--r-- | support/docker/production/Dockerfile.stretch | 4 |
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 @@ | |||
1 | FROM node:8-stretch | 1 | FROM 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) |
6 | ARG NPM_RUN_BUILD_OPTS | 6 | ARG NPM_RUN_BUILD_OPTS |
@@ -59,5 +59,5 @@ COPY ./support/docker/production/docker-entrypoint.sh /usr/local/bin/docker-entr | |||
59 | ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] | 59 | ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] |
60 | 60 | ||
61 | # Run the application | 61 | # Run the application |
62 | CMD ["yarn", "start"] | 62 | CMD ["npm", "start"] |
63 | EXPOSE 9000 | 63 | EXPOSE 9000 |