yarn -> npm in dockerfile

pull/1960/head
Chocobozzz 2019-07-08 16:09:13 +02:00
parent 7593d9f872
commit 297067399d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -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