Before building, clear your Docker cache to ensure a clean build:
docker system prune -aTo build the Docker image:
# Navigate to the project directory
cd /path/to/project
# Build the image
docker build -t sentire-notes-backend .
# Verify the build
docker images | grep sentire-notes-backendTo run the container:
docker run -p 8000:8000 sentire-notes-backendNote: Adjust the port mappings according to your application's requirements.