Skip to content

Commit

Permalink
BL-11131: Add security fixes and update node version in docker contai…
Browse files Browse the repository at this point in the history
…ner to allow use of audit and newer package versions.

Also update docs to refrence docker rather than local node which could be any version
  • Loading branch information
louisemcmahon-kainos committed May 27, 2020
1 parent a42f4d7 commit 735bdf5
Show file tree
Hide file tree
Showing 15 changed files with 1,983 additions and 1,368 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:8.9
FROM node:12.16.3

# Create app directory
WORKDIR /usr/app
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ Password: dvsa
2. Install dependencies using NPM

```javascript
npm install
docker-compose run app npm install
```

### Development

To run development mode run the following command inside the directory.

```javascript
npm run start-dev
docker-compose up
```

You can access the local server with the following url
Expand All @@ -55,7 +55,7 @@ Build production command will generate production ready assets and node js serve
The productions assets are located in the **dist/assets** folder and the server code is located in the **dist/server** folder.

```javascript
npm run build-production
docker-compose run app npm run build-production
```

**Run this command and commit changes before pushing to heroku.**
Expand Down
2 changes: 1 addition & 1 deletion dist/assets/images/icons-plus-minus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/assets/images/loading-spinner.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/assets/images/logo_mot.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions dist/assets/javascripts/development.bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/assets/javascripts/dvsa-manuals.bundle.js

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions dist/assets/javascripts/dvsa-mts-legacy.bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/assets/javascripts/dvsa-mts.bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/assets/javascripts/dvsa.bundle.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/assets/javascripts/vendor.bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/assets/stylesheets/development.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/assets/stylesheets/styles.css

Large diffs are not rendered by default.

Loading

0 comments on commit 735bdf5

Please sign in to comment.