Commit graph

12 commits

Author SHA1 Message Date
Justin Garrison
471524b677 Update dockerfile COPY to use node user 2021-05-05 15:12:14 -07:00
ophir
0513324c38 Set default port to 8080 2021-01-10 19:15:06 +01:00
ophir
ce5ca084b9 Run as non-priviledged user in the docker image 2021-01-10 17:02:27 +01:00
ophir
295b374dc8 Dockerfile updates
Shorten docker build times by copying the package.json separately.

Install dependencies with npm ci

Update node to the new LTS: 14
2020-10-30 22:52:38 +01:00
Ophir LOJKINE
c34ccbb17a Update dependencies
Switch from the unmaintained node-static to serve-static.
2020-04-12 11:15:22 +02:00
Cyrille Pontvieux
e090e857dd
Do not install on run (#30)
* Do not install on run

The docker image should contains already resolved dependencies.

No need for a start.sh, you could just run node directly.

* Simplify Dockerfile
2020-04-12 09:15:56 +02:00
Ophir LOJKINE
dd9a9bf59c handle restarts with docker instead of forever 2019-03-27 11:50:24 +01:00
Ophir LOJKINE
b7e59bcec1 fix dockerfile 2019-03-21 22:38:37 +01:00
Ophir LOJKINE
87372e4f79 Restart the server automatically when it fails 2019-03-21 22:37:13 +01:00
Argan Wang
b6a8b754a8
enhance the Dockerfile with default CMD to start 2019-01-11 11:55:24 +08:00
Ophir LOJKINE
30f32351c3 Remove cron jobs from docker image 2018-11-28 11:35:27 +01:00
Ophir LOJKINE
3527556086 Add a dockerfile 2018-11-26 16:29:11 +01:00