cryptalk/docker-entrypoint.sh

12 lines
250 B
Bash
Raw Normal View History

2017-01-15 16:28:34 -05:00
#!/bin/sh
2017-01-14 18:47:20 -05:00
set -e
2017-12-04 16:12:04 -05:00
# /usr/src/app/external-public kan be mounted as a volume on host to expose
# statics to be hosted by host nginx
if [ -d /usr/src/app/external-public ]; then
cp -R /usr/src/app/public/* /usr/src/app/external-public/
fi
2017-01-14 18:47:20 -05:00
2017-01-15 16:28:34 -05:00
exec "$@"