Commit graph

16 commits

Author SHA1 Message Date
lovasoa
e8b3d6d41e
Update base docker image 2023-10-23 11:46:25 +02:00
Ophir LOJKINE
7294746cad Fix dockerfile permission error
Allow node to bind to port 80 as non-root
2021-06-12 01:16:02 +02:00
Ophir LOJKINE
ea8aeb1c48 Update docker base image 2021-06-12 01:06:26 +02:00
Ophir LOJKINE
ee5821ef44 expose port 80 by default 2021-06-09 17:35:50 +02:00
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