projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7593d9f
)
yarn -> npm in dockerfile
author
Chocobozzz
<me@florianbigard.com>
Mon, 8 Jul 2019 14:09:13 +0000
(16:09 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Mon, 8 Jul 2019 14:09:13 +0000
(16:09 +0200)
support/docker/production/Dockerfile.stretch
patch
|
blob
|
history
diff --git
a/support/docker/production/Dockerfile.stretch
b/support/docker/production/Dockerfile.stretch
index 0cc7645084d7d9e4d0ca7a7284f91eee603e8f36..c653233b6930f05a07a4ba381714f56579d34f80 100644
(file)
--- 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