forked from nigelpoulton/psweb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from nigelpoulton/master
[pull] master from nigelpoulton:master
- Loading branch information
Showing
3 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |