Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 778 Bytes

File metadata and controls

34 lines (27 loc) · 778 Bytes

Deployment Instructions for TAP_OCR

Prerequisites

  • Docker installed on your machine
  • (Optional) Git to clone the repository

Build the Docker Image

cd path\to\TAP_OCR
docker build -t tap_ocr .

Run the Docker Container

docker run -d -p 8000:8000 --name tap_ocr_container tap_ocr

Stopping and Removing the Container

docker stop tap_ocr_container

docker rm tap_ocr_container

Updating the Image

If you make changes to the code, rebuild the image:

docker build -t tap_ocr .

Notes

  • 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 -e flag with docker run.