diff --git a/Dockerfile b/Dockerfile index 9307e76..498938f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,14 @@ FROM node:8.2 RUN mkdir -p /usr/src/app WORKDIR /usr/src/app +# use changes to package.json to force Docker not to use the cache +# when we change our application's nodejs dependencies: +ADD package.json /usr/src/app +RUN npm install + # Install app dependencies COPY . /usr/src/app -RUN npm install && npm run build +RUN npm run build VOLUME /usr/src/app/build diff --git a/src/components/footer.js b/src/components/footer.js index 31d29ed..2ebd1c9 100644 --- a/src/components/footer.js +++ b/src/components/footer.js @@ -25,7 +25,7 @@ class Footer extends Component { render() { return ( ); } diff --git a/src/components/menu-sidebar.js b/src/components/menu-sidebar.js index 66ab5fb..51d7d83 100644 --- a/src/components/menu-sidebar.js +++ b/src/components/menu-sidebar.js @@ -34,7 +34,7 @@ class SidebarMenu extends React.Component {
  • Simulations
  • Simulators
  • { this.props.currentRole === 'admin' ? -
  • User Management
  • : '' +
  • Users
  • : '' }
  • Logout
  • diff --git a/src/styles/app.css b/src/styles/app.css index 6cc5360..f01e3a6 100644 --- a/src/styles/app.css +++ b/src/styles/app.css @@ -80,6 +80,10 @@ body { clear: both; } +.app-footer a { + color: #333; +} + .app-body { padding: 15px 5px 0px 5px; } @@ -136,7 +140,7 @@ body { .menu-sidebar ul { padding-top: 10px; list-style: none; - white-space: nowrap; + white-space: nowrap; } .menu-sidebar a::after {