- Docker installed on your machine
- (Optional) Git to clone the repository
cd path\to\TAP_OCR
docker build -t tap_ocr .docker run -d -p 8000:8000 --name tap_ocr_container tap_ocrdocker stop tap_ocr_container
docker rm tap_ocr_containerIf you make changes to the code, rebuild the image:
docker build -t tap_ocr .- Update the exposed port in the Dockerfile and run command if your app uses a different port.
- For persistent storage, use Docker volumes or bind mounts as needed.
- For environment variables, use the
-eflag withdocker run.