Commit graph

11 commits

Author SHA1 Message Date
chamunks
36b42e2107 major rewrite of docker-entrypoint
Original entrypoint was basically a placeholder for me anyways.
I need to add a few functions for configuration and then start testing.
2018-06-02 18:46:51 -04:00
chamunks
f8f8c3ab51 Fail better
https://unix.stackexchange.com/questions/384305/debugging-scripts-what-is-the-difference-between-x-to-set-euxo-pipefail?rq=1
2018-06-02 18:21:57 -04:00
chamunks
568b175950 Fail entrypoint better 2018-06-02 14:40:49 -04:00
chamunks
0273a024ea Feedback clarification 2018-06-01 16:23:27 -04:00
chamunks
1d4fa0ecc3 Clarification in comments 2018-06-01 16:22:13 -04:00
chamunks
31d020251e Cleaning up permissions assertion 2018-06-01 16:20:50 -04:00
chamunks
4eea5da88f spaces instead of tabs 2018-06-01 16:15:33 -04:00
chamunks
d6c1073933 Added +x to docker-entrypoint.sh 2018-06-01 16:14:36 -04:00
chamunks
3d008be714 Adding some tests for currently installed content.
I may completely rewrite this later but what it does is it checks if
there is anything in the /app/ directory and then if theres nothing it
installs our fresh copy that the speech user/group cannot change
personally.

The entrypoint script should run on container instantiation before the
CMD directive which should just be a simple npm command so that docker's
own process monitoring can work correctly.
2018-06-01 13:41:26 -04:00
chamunks
5b206a50f9 Adding some basic context to the plans for this file 2018-05-31 20:15:49 -04:00
chamunks
dc1e5922d5 Adding base docker-entrypoint.sh 2018-05-31 20:08:01 -04:00