diff options
| author | Georgios Andreadis <G.Andreadis@student.tudelft.nl> | 2017-09-29 12:01:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-29 12:01:58 +0200 |
| commit | 9ca5183304f755c4b11ca69d3a2715fd8312c22d (patch) | |
| tree | 9113c12c3369c13deb779c1a21f2eaab6ec9db26 | |
| parent | 6887d54bed7b26b9904bdb0f99ce3ef0e0f3f4f0 (diff) | |
Replace yarn with npm commands in Dockerfile
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"] |
