Commit Graph

28 Commits

Author SHA1 Message Date
29867aef13 refactor(node): update npm, and cmd-opts 2023-03-19 23:44:44 -06:00
c2befd3d62 refactor(docker): bump node and alpine versions 2023-03-19 23:07:43 -06:00
6970776aa8 feature: watch 5 directories vs 1 2022-05-02 00:31:19 -06:00
dc732efdb7 feature(dockerfile): multi-stage build
- install node dependencies in builder stage
- final stage based on alpine with minimal nodejs installation
- npm not present, prevents idiotic lingering security issues
- 50% smaller final image
2022-02-26 21:59:05 -07:00
ef87879b60 chore(dockerfile): bump alpine base version 2022-02-26 20:46:28 -07:00
81267cdb7c fix(dockerfile): fix readme location in documentation label 2021-07-30 17:18:39 -06:00
f673f94283 fix(dockerfile): use tini to correct error code on exit
- node returns error on sigterm but this normal for docker termination
- coupled with javascript signal capture, tini ignores return 143,
reports 0
- allows for proper automatic restart since no error is reported
2021-07-30 17:10:37 -06:00
5994f3b82e perf(dockerfile): moved copy file order
- moved node file copy order, allow for package.json usage
- invocation js moved after node install, faster builds
2021-07-30 17:07:46 -06:00
9717e8a6fa refactor: rename repo, image, containers
- rename for integration with node-dev environment and production
deployment
- update image and product name across all files
- use generated project file to install node dependencies
- bump internal version to 2.6
2021-07-30 11:53:41 -06:00
cad203a7c0 fix(dockerfile): reorganize and add new labels
- add deprecated maintainer tag and label
- fix internal label names
- add git commit label
- reorganize labels
2021-07-28 04:41:28 -06:00
1194fc63c6 fix(livereload): fix exclusions bug
- read environment var as array
- convert array elements to regex objects
- update environment variable defaults
2021-07-28 03:51:56 -06:00
574b6e1e07 refactor(dockerfile): update existing packages to latest versions 2021-07-28 03:50:03 -06:00
d0eb4cc821 feature(dockerfile): allow setting separate GID 2021-07-24 16:21:07 -06:00
dfa50ea6b5 feature: add healthcheck
- add express npm to allow creation of health endpoint
- create health end pt as callback to livereload server listening state
- configure healthcheck in container
- allows true 'stack' operation since other services can query status
2021-07-24 03:01:01 -06:00
1e7531e632 chore: update and use consistent project name 2021-07-23 18:36:14 -06:00
f196697569 chore(dockerfile): re-enable extra labels 2021-07-23 18:22:40 -06:00
c48e985d23 feature(entrypoint): generate self-signed certificate
- generate via specific invocation
- auto-generate if SSL and no mounted certificate found
- allow specifying hostname for certificate
2021-07-23 17:19:58 -06:00
8f35aaef11 feature: allow non-secure connections
- default to secure
- parameterize via env var
2021-07-23 13:31:01 -06:00
ee38b2468e feature(livereload): add debug output as default 2021-07-22 21:21:59 -06:00
2c3bcf27d7 refactor(dockerfile): change order for faster build
- move file copy to near end since scripts change often
2021-07-22 18:45:29 -06:00
f30e22b333 build(dockerfile): temp comment labels for faster build 2021-07-22 18:44:00 -06:00
9ee212fcef fix(dockerfile): fix minor bugs stopping build 2021-07-22 17:38:43 -06:00
1ca3b48d0d refactor(dockerfile): remove old dockerfile
- delete non-tls version of dockerfile
- set internal version as build-arg
2021-07-22 17:28:21 -06:00
d864231db1 refactor(dockerfile): cleanup permissions
- set proper permissions for server script and entrypoint
2021-07-22 17:21:55 -06:00
7828ff2125 struct(dockerfile): add openssl 2021-07-22 17:16:15 -06:00
0fbd3303e4 struct(entrypoint): skeleton entrypoint script
- basic operation flow with placeholder functions
- implement server and shell launch
- allow commands to pass to shell
- update Dockerfile to load entrypoint only
- update Dockerfile to set permissions for certs directory
2021-07-22 17:15:31 -06:00
cc10ee2241 struct(Dockerfile): align with previous customizations 2021-07-22 16:36:36 -06:00
9e9abe945f struct(dockerfile): initial build skeleton 2021-07-22 16:22:40 -06:00