init.sh 229 B

1234567891011
  1. #!/bin/bash
  2. # copy the config when starting the container
  3. cp /home/data/config.ts /home/gpt-crawler/
  4. # start the crawler
  5. cd /home/gpt-crawler && npm start
  6. # Print message after crawling and exit
  7. echo "Crawling complete.."
  8. exit