Skip to content

S.randolph edits 5.20.22 #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]


11 changes: 11 additions & 0 deletions HelloShana.sh
Original file line number Diff line number Diff line change
@@ -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 "

4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}!`);
});