cryptalk/docker-entrypoint.sh

9 lines
197 B
Bash

#!/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 "$@"