summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgios Andreadis <G.Andreadis@student.tudelft.nl>2017-09-29 12:01:58 +0200
committerGitHub <noreply@github.com>2017-09-29 12:01:58 +0200
commit9ca5183304f755c4b11ca69d3a2715fd8312c22d (patch)
tree9113c12c3369c13deb779c1a21f2eaab6ec9db26
parent6887d54bed7b26b9904bdb0f99ce3ef0e0f3f4f0 (diff)
Replace yarn with npm commands in Dockerfile
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 49c82935..f8084892 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,8 +18,8 @@ RUN chmod 555 /opendc/build/configure.sh \
&& cd /opendc/opendc-frontend \
&& rm -rf ./build \
&& rm -rf ./node_modules \
- && yarn \
+ && npm install \
&& export REACT_APP_OAUTH_CLIENT_ID=$(cat ../keys.json | python -c "import sys, json; print json.load(sys.stdin)['OAUTH_CLIENT_ID']") \
- && yarn build
+ && npm run build
CMD ["sh", "-c", "cd /opendc && ./build/configure.sh && /usr/bin/supervisord -c /opendc/build/supervisord.conf"]