cryptalk/docker-entrypoint.sh

9 lines
197 B
Bash
Raw Normal View History

2017-01-14 18:47:20 -05:00
#!/bin/bash
set -e
if [ ! -e '/usr/src/app/external-public/index.html' ]; then
cp -R /usr/src/app/public /usr/src/app/external-public
chown -R www-data /usr/src/app/external-public
fi
exec "$@"