diff --git a/Dockerfile b/Dockerfile index 338adfb..99e1c22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:7-alpine +FROM node:8.1.4-alpine MAINTAINER Vault-UI Contributors @@ -7,7 +7,9 @@ COPY . . RUN yarn install --pure-lockfile --silent && \ yarn run build-web && \ - npm prune --silent --production && \ + yarn install --silent --production && \ + yarn check --verify-tree --production && \ + yarn global add nodemon && \ yarn cache clean && \ rm -f /root/.electron/* diff --git a/app/components/Authentication/Github/Github.jsx b/app/components/Authentication/Github/Github.jsx index 10c03e3..1324a8d 100644 --- a/app/components/Authentication/Github/Github.jsx +++ b/app/components/Authentication/Github/Github.jsx @@ -535,7 +535,7 @@ export default class GithubAuthBackend extends React.Component { floatingLabelText='GitHub endpoint' fullWidth={true} floatingLabelFixed={true} - value={this.state.newConfig.endpoint} + value={this.state.newConfig.base_url} onChange={(e) => { this.setState({ newConfig: update(this.state.newConfig, { endpoint: { $set: e.target.value } }) }); }} @@ -564,4 +564,4 @@ export default class GithubAuthBackend extends React.Component { ); } -} \ No newline at end of file +}