Compare commits

...

2 commits

Author SHA1 Message Date
Kfir Dayan
52c8516a1e changed the 404 msg 2023-04-03 20:06:02 +03:00
Kfir Dayan
3a7803ef2b add bash script 2023-04-03 20:05:25 +03:00
3 changed files with 7 additions and 1 deletions

4
restart.sh Normal file
View file

@ -0,0 +1,4 @@
#!/bin/bash
docker stop haifareminder
docker rm haifareminder
docker run -p 3000:3000 -d --name haifareminder docker.io/kfda89/haifareminder

View file

@ -63,5 +63,5 @@ webServer.listen(process.env.PORT, () => {
}) })
webServer.use(function (req, res, next) { webServer.use(function (req, res, next) {
res.status(404).send("Sorry can't find that!") res.status(404).send("This is not the page you are looking for...")
}) })

2
start.sh Normal file
View file

@ -0,0 +1,2 @@
#!/bin/bash
docker run -p 3000:3000 -d --name haifareminder docker.io/kfda89/haifareminder