account/docker/entrypoint.sh
2022-05-07 22:43:12 +02:00

13 lines
283 B
Bash

#!/bin/sh
files='config.json certs/nex/datastore/secret.key certs/nex/secret.key certs/nex/public.pem'
for file in $files; do
if [ ! -f $file ]; then
echo "$PWD/$file file does not exist. Please mount and try again."
exit 1
fi
done
exec node src/server.js