diff --git a/Dockerfile b/Dockerfile index 4065c43..cd26c70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,4 +3,22 @@ WORKDIR /src COPY . . RUN npm install --quiet && npm test EXPOSE 4000 -CMD npm start +CMD npm start$ +$curl https://minikube.sigs.k8s.io/docs/ + +curl --request POST \ +--url https://minikube.sigs.k8s.io/docs/ + +CMD ["echo Hello Shana!"] + +CMD ["echo Make Them Rave"] + +CMD ["echo Be Data Driven"] + +CMD ["echo Be One Step Ahead"] + +CMD ["echo Be A Change Agent"] + +CMD ["echo Do The Right Thing"] + + diff --git a/HelloShana.sh b/HelloShana.sh new file mode 100755 index 0000000..7da2728 --- /dev/null +++ b/HelloShana.sh @@ -0,0 +1,11 @@ + +#!/bin/sh +curl https://minikube.sigs.k8s.io/docs/ + + +#!/bin/sh +# This is bash program to display Hello Shana + + +echo " Hello Shana " + diff --git a/server.js b/server.js index 4b61802..df75a92 100644 --- a/server.js +++ b/server.js @@ -5,8 +5,8 @@ const app = express(); app.listen(port); console.log(`Server running at http://localhost: ${port}`); - +$ curl -L https://minikube.sigs.k8s.io/docs/ app.get('/', (req, res) => { const name = process.env.NAME || 'guest'; - res.send(`Hello ${name}!`); + res.send(`Hello ${Shana}!`); });