This is a Tesseract API template for projects using the tesseract-api package. To start using this template, just create a new repository from this template and start coding 🎉
If you are using node directly to develop, please recall your typical .env
file to .env.local
. For this, use .env
as a guide
- Install Docker on your machine
- Build your container with:
- NO ENV VARS AT BUILDTIME:
docker build -t datausa-tesseract-api .
- Run your container with:
docker run --rm --env-file=./.env.local -p 7777:7777 datausa-tesseract-api