Added basic Docker support
This commit is contained in:
13
docker/entrypoint.sh
Executable file
13
docker/entrypoint.sh
Executable 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
|
||||
Reference in New Issue
Block a user