cryptalk/docker-entrypoint.sh

12 lines
268 B
Bash
Raw Normal View History

2021-11-03 15:35:57 -04:00
#!/bin/sh
set -e
# /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/client/public/* /usr/src/app/external-public/
fi
exec "$@"