Rename part1
This commit is contained in:
parent
bcf1e3361f
commit
108f52dbd5
21 changed files with 0 additions and 0 deletions
5
Part1/Exercise_07/Dockerfile
Normal file
5
Part1/Exercise_07/Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM ubuntu:20.04
|
||||
WORKDIR /usr/src/app
|
||||
RUN apt update && apt install -y curl
|
||||
COPY web-server.sh .
|
||||
CMD ./web-server.sh
|
6
Part1/Exercise_07/web-server.sh
Executable file
6
Part1/Exercise_07/web-server.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
while true
|
||||
do
|
||||
echo "Input website:"
|
||||
read website; echo "Searching.."
|
||||
sleep 1; curl http://$website
|
||||
done
|
Reference in a new issue