From: Chocobozzz Date: Mon, 8 Jul 2019 14:09:13 +0000 (+0200) Subject: yarn -> npm in dockerfile X-Git-Tag: v1.4.0-rc.1~127 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=297067399db2bf7505561d67667ca0d559a8e42b;p=oweals%2Fpeertube.git yarn -> npm in dockerfile --- 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 @@ FROM node:8-stretch -# Allow to pass extra options to the yarn run build +# Allow to pass extra options to the npm run build # eg: --light --light-fr to not build all client languages # (speed up build time if i18n is not required) ARG NPM_RUN_BUILD_OPTS @@ -59,5 +59,5 @@ COPY ./support/docker/production/docker-entrypoint.sh /usr/local/bin/docker-entr ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] # Run the application -CMD ["yarn", "start"] +CMD ["npm", "start"] EXPOSE 9000