Added basic Docker support

This commit is contained in:
Colin_
2020-01-28 19:22:59 -05:00
parent 87888916a7
commit 40a15d126f
4 changed files with 80 additions and 0 deletions

13
docker/entrypoint.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env sh
case $1 in
api )
cd /app/api/ && npm start
;;
client )
cd /app/client && npm start
;;
* )
echo "The only two supported run modes are client and api, giving you a shell instead."
/bin/sh
;;
esac