From 35643f493e2d37d0c6bb9e523bcdcaef6a5c6cfb Mon Sep 17 00:00:00 2001 From: Nigel Poulton Date: Fri, 24 Apr 2020 20:13:12 +0100 Subject: [PATCH 1/3] Pushing April 2020 updates Signed-off-by: Nigel Poulton --- README.md | 6 +++--- package.json | 16 ++++++++-------- views/home.pug | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 33310c4..c336e1f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Simple web app for Pluralsight courses and Docker Deep Dive book This is a quick and dirty node.js app cobbled together for the purposes of demonstrating how to Dockerize/containerize a simple app. -**This app is not maintained and WILL be full of vulnerbilities. Use at own risk** +**This app is not maintained approximately once per year so will contain vulnerbilities. Use at own risk** -Exposes web server on port 8080 as per ./app.js +Exposes web server on port `8080` as per `./app.js` -See **Dockerfile** for more details +See `Dockerfile` for more details diff --git a/package.json b/package.json index 4436212..8c859ff 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,15 @@ { - "name": "hello-pluralsighters", + "name": "container-web-test", "private": true, - "version": "0.0.1", - "description": "Demo app for Pluralsight courses and DockerDeep Dive book", + "version": "0.0.2", + "description": "Demo app for Web container demonstrations", "main": "app.js", "author": "Nigel Poulton ", - "license": "You'd have to be mad to use this in production :-D", + "license": "Will contain vulnerabilities!", "dependencies": { - "express": "4.15.5", - "pug": "2.0.0-rc.4", - "mocha": "3.5.3", - "supertest": "3.0.0" + "express": "4.17.1", + "pug": "2.0.4", + "mocha": "7.1.1", + "supertest": "4.0.2" } } diff --git a/views/home.pug b/views/home.pug index 093c21a..7a80a91 100644 --- a/views/home.pug +++ b/views/home.pug @@ -5,6 +5,6 @@ html body div.container div.jumbotron - h1 Hello Pluralsighters!!! - p Simple web app that is not patched and not safe!! + h1 Hello Docker learners!!! + p Be carefu. The last time I updated the packages in this app was April 2020. p From e390afa957fdb2c7fe47f3138a5d0bfad7602dc3 Mon Sep 17 00:00:00 2001 From: Nigel Poulton Date: Fri, 24 Apr 2020 20:17:56 +0100 Subject: [PATCH 2/3] Adding updated bootstrap to home.pug Signed-off-by: Nigel Poulton --- views/home.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/home.pug b/views/home.pug index 7a80a91..8f9d278 100644 --- a/views/home.pug +++ b/views/home.pug @@ -1,7 +1,7 @@ html head title='Docker Rocks' - link(rel='stylesheet', href='http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css') + link(rel='stylesheet', href='https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css') body div.container div.jumbotron From bf0a467f3a70f0c2cd421ade364b5f2e769b3ac7 Mon Sep 17 00:00:00 2001 From: Nigel Poulton Date: Fri, 24 Apr 2020 23:02:28 +0100 Subject: [PATCH 3/3] Fixing typo in home.pug --- views/home.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/home.pug b/views/home.pug index 8f9d278..8186c20 100644 --- a/views/home.pug +++ b/views/home.pug @@ -6,5 +6,5 @@ html div.container div.jumbotron h1 Hello Docker learners!!! - p Be carefu. The last time I updated the packages in this app was April 2020. + p Be careful. The last time I updated the packages in this app was April 2020. p