Skip to content

Commit

Permalink
Merge pull request #4 from nigelpoulton/master
Browse files Browse the repository at this point in the history
[pull] master from nigelpoulton:master
  • Loading branch information
hemanth22 authored Apr 26, 2020
2 parents 373ec20 + bf0a467 commit 7907328
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -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 <nigelpoulton@hotmail.com>",
"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"
}
}
6 changes: 3 additions & 3 deletions views/home.pug
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
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
h1 Hello Pluralsighters!!!
p Simple web app that is not patched and not safe!!
h1 Hello Docker learners!!!
p Be careful. The last time I updated the packages in this app was April 2020.
p

0 comments on commit 7907328

Please sign in to comment.